X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=actions%2Fedit_course.sh;h=1841e056b00ffc5038b9c4751bf041dfb4edc1d5;hp=abeae20a8b1d8beb99aeac022b1d5ec53bed01ce;hb=b0ab910afe1f7fec143a23e96c72e4f9a66db2bf;hpb=c22f240e5cef28ddb31e43b7138fe3ecf659d208 diff --git a/actions/edit_course.sh b/actions/edit_course.sh old mode 100644 new mode 100755 index abeae20..1841e05 --- 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: ?page=courses&edit=$course\n\n" +echo -n "Location: ?p=courses&edit=$course\n\n"