X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=actions%2Fedit_course.sh;h=1841e056b00ffc5038b9c4751bf041dfb4edc1d5;hp=ecf5bc67d636587f6e58a3db2b8722d3068a1dba;hb=4e49d483fd5121fda86a33cf583c15afa6556ad1;hpb=10dc80cb808b22e1ffe613b3a6b5ec82691b08dc 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"