X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=actions%2Fedit_course.sh;h=1841e056b00ffc5038b9c4751bf041dfb4edc1d5;hp=ecf5bc67d636587f6e58a3db2b8722d3068a1dba;hb=322d57cdb814fe095dec3bb579e0aaa9db94e9c2;hpb=d9fed23d135bb3f8d4b24734c3da0a4f6f200c4c diff --git a/actions/edit_course.sh b/actions/edit_course.sh index ecf5bc6..1841e05 100755 --- a/actions/edit_course.sh +++ b/actions/edit_course.sh @@ -17,6 +17,6 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . -course="$_GET[\"course\"]" +course="${_GET[course]}" echo -n "Location: ?p=courses&edit=$course\n\n"