From: Evan Prodromou Date: Sat, 17 May 2008 16:42:18 +0000 (-0400) Subject: fix array key check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10750993fe03f808f93419b70386197d867e5cfe;p=quix0rs-gnu-social.git fix array key check darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz --- diff --git a/lib/action.php b/lib/action.php index e604b1304d..c3eacf44ed 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;