]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
convert html-generation functions to use XMLWriter
[quix0rs-gnu-social.git] / 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;