diff options
Diffstat (limited to 'actions/deletenotice.php')
-rw-r--r-- | actions/deletenotice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/deletenotice.php b/actions/deletenotice.php index ba348c5fa..0777918d2 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -41,7 +41,7 @@ class DeletenoticeAction extends DeleteAction { return _('Delete notice'); } - function show_form($error=NULL) { + function show_form($error=null) { $user = common_current_user(); common_show_header($this->get_title(), array($this, 'show_header'), $error, @@ -91,7 +91,7 @@ class DeletenoticeAction extends DeleteAction { $notice->delete(); } else { if ($url) { - common_set_returnto(NULL); + common_set_returnto(null); } else { $url = common_local_url('public'); } |