]> git.plutz.net Git - confetti/blobdiff - actions/edit_course.sh
simplify distinction between attendees and clients
[confetti] / actions / edit_course.sh
old mode 100644 (file)
new mode 100755 (executable)
index abeae20..1841e05
@@ -17,6 +17,6 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-course="$_GET[\"course\"]"
+course="${_GET[course]}"
 
-echo -n "Location: ?page=courses&edit=$course\n\n"
+echo -n "Location: ?p=courses&edit=$course\n\n"