summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index e604b1304..c3eacf44e 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -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;