diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:42:18 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:42:18 -0400 |
commit | 10750993fe03f808f93419b70386197d867e5cfe (patch) | |
tree | e398e9fd9021071118d9ef1960f83bda26ba0a17 | |
parent | 80ee6ee1d2f8c0b6f91859f48c2acb984ea0429c (diff) |
fix array key check
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
-rw-r--r-- | lib/action.php | 2 |
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; |