We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 10750993 authored by Evan Prodromou's avatar Evan Prodromou

fix array key check

parent 80ee6ee1
......@@ -27,7 +27,7 @@ class Action { // lawsuit
function arg($key) {
if (array_has_key($this->args, $key)) {
if (array_key_exists($key, $this->args)) {
return $this->args[$key];
} else {
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment