diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-23 14:21:29 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-23 14:21:29 -0500 |
commit | eb2f9c98ac115ce67e9a740b200c832153ffa05c (patch) | |
tree | 562e524f12420a97fc66a5c9db0ccd6a1f9aea09 /lib/searchaction.php | |
parent | edbc0c665cc65875b4d14b79939233b1c9c06bb6 (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 'lib/searchaction.php')
-rw-r--r-- | lib/searchaction.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/searchaction.php b/lib/searchaction.php index 8634bd99c..3eec91832 100644 --- a/lib/searchaction.php +++ b/lib/searchaction.php @@ -30,7 +30,7 @@ class SearchAction extends Action { $this->show_form(); } - function show_top($arr=NULL) { + function show_top($arr=null) { if ($arr) { $error = $arr[1]; } @@ -47,14 +47,14 @@ class SearchAction extends Action { } function get_title() { - return NULL; + return null; } function show_header($arr) { return; } - function show_form($error=NULL) { + function show_form($error=null) { global $config; $q = $this->trimmed('q'); @@ -99,11 +99,11 @@ class SearchAction extends Action { array( _('People'), _('Find people on this site'), - ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL), + ($action != 'peoplesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : null), 'noticesearch' => array( _('Text'), _('Find content of notices'), - ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : NULL) + ($action != 'noticesearch' && $this->trimmed('q')) ? array('q' => $this->trimmed('q')) : null) ); $this->nav_menu($menu); } |