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

darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
parent 80ee6ee1
...@@ -27,7 +27,7 @@ class Action { // lawsuit ...@@ -27,7 +27,7 @@ class Action { // lawsuit
} }
function arg($key) { function arg($key) {
if (array_has_key($this->args, $key)) { if (array_key_exists($key, $this->args)) {
return $this->args[$key]; return $this->args[$key];
} else { } else {
return NULL; 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