]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix array key check
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:42:18 +0000 (12:42 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:42:18 +0000 (12:42 -0400)
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz

lib/action.php

index e604b1304d93cdbe334193c91adf75586457fe32..c3eacf44eddd9834cc26fb7590388ae4194391fd 100644 (file)
@@ -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;