X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=actions%2Fedit_course.sh;h=1841e056b00ffc5038b9c4751bf041dfb4edc1d5;hp=ecf5bc67d636587f6e58a3db2b8722d3068a1dba;hb=0dc31a9e7992c227b680180d3ceee031ac293169;hpb=16deeb30487a64daff6475da5a008a061f581f92 diff --git a/actions/edit_course.sh b/actions/edit_course.sh old mode 100644 new mode 100755 index ecf5bc6..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: ?p=courses&edit=$course\n\n"