]> git.plutz.net Git - confetti/blobdiff - templates/courses.html.sh
adaption for changes in shcgi external
[confetti] / templates / courses.html.sh
index 698fe2c37e65dbe9823b067b23826d509abacfbc..99e3381c330fdab04a3c2aec1eae4ff2dfc3f363 100755 (executable)
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-edit="$_GET[\"edit\"]"
+edit="${_GET[edit]}"
 
 check_order(){
-  [ "$_GET[\"order\"]" = "$1" ] && echo 'checked="checked"'
+  [ "${_GET[order]}" = "$1" ] && echo 'checked="checked"'
 }
 
 cat <<EOF