summaryrefslogtreecommitdiff
path: root/actions/api.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:21:29 -0500
commiteb2f9c98ac115ce67e9a740b200c832153ffa05c (patch)
tree562e524f12420a97fc66a5c9db0ccd6a1f9aea09 /actions/api.php
parentedbc0c665cc65875b4d14b79939233b1c9c06bb6 (diff)
replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
Diffstat (limited to 'actions/api.php')
-rw-r--r--actions/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/api.php b/actions/api.php
index e03961e21..e7646a7bb 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -152,8 +152,8 @@ class ApiAction extends Action {
header('Content-Type: application/xml; charset=utf-8');
common_start_xml();
common_element_start('hash');
- common_element('error', NULL, $msg);
- common_element('request', NULL, $_SERVER['REQUEST_URI']);
+ common_element('error', null, $msg);
+ common_element('request', null, $_SERVER['REQUEST_URI']);
common_element_end('hash');
common_end_xml();
} else if ($this->content_type == 'json') {