]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix on sitenotice admin panel save
authorBrion Vibber <brion@pobox.com>
Thu, 4 Mar 2010 14:39:46 +0000 (06:39 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 4 Mar 2010 14:39:46 +0000 (06:39 -0800)
actions/sitenoticeadminpanel.php

index 613a2e96beff7dda40d9ffddafaab40a34081124..3931aa9825f7482ca81ac8e9a8dec148cd51db9f 100644 (file)
@@ -99,7 +99,7 @@ class SitenoticeadminpanelAction extends AdminPanelAction
 
         $result = Config::save('site', 'notice', $siteNotice);
 
-        if (!result) {
+        if (!$result) {
             $this->ServerError(_("Unable to save site notice."));
         }
     }