From: Zach Copley Date: Thu, 18 Mar 2010 20:46:11 +0000 (-0700) Subject: Remove deprecated call-by-reference. Was causing a warning on Dreamhost. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54c6dc090b6f5d406ded164c6fe8f9d4753e6b88;p=quix0rs-gnu-social.git Remove deprecated call-by-reference. Was causing a warning on Dreamhost. --- diff --git a/actions/sitenoticeadminpanel.php b/actions/sitenoticeadminpanel.php index 3931aa9825..a68cc699ca 100644 --- a/actions/sitenoticeadminpanel.php +++ b/actions/sitenoticeadminpanel.php @@ -93,7 +93,7 @@ class SitenoticeadminpanelAction extends AdminPanelAction // assert(all values are valid); // This throws an exception on validation errors - $this->validate(&$siteNotice); + $this->validate($siteNotice); $config = new Config();