From 10750993fe03f808f93419b70386197d867e5cfe Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 12:42:18 -0400 Subject: [PATCH] fix array key check darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz --- lib/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5