summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 12:42:18 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 12:42:18 -0400
commit10750993fe03f808f93419b70386197d867e5cfe (patch)
treee398e9fd9021071118d9ef1960f83bda26ba0a17 /lib
parent80ee6ee1d2f8c0b6f91859f48c2acb984ea0429c (diff)
fix array key check
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
Diffstat (limited to 'lib')
-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;