From: Craig Andrews Date: Wed, 11 Nov 2009 22:09:00 +0000 (-0500) Subject: initialize these variables before use to prevent warnings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a6590a7e800e33787ffc55dbd0b2b36ff140504;p=quix0rs-gnu-social.git initialize these variables before use to prevent warnings --- diff --git a/actions/othersettings.php b/actions/othersettings.php index 1d252f34ed..0de7cd9086 100644 --- a/actions/othersettings.php +++ b/actions/othersettings.php @@ -98,7 +98,9 @@ class OthersettingsAction extends AccountSettingsAction $this->hidden('token', common_session_token()); $this->elementStart('ul', 'form_data'); + $shorteners = array(); Event::handle('GetUrlShorteners', array(&$shorteners)); + $services = array(); foreach($shorteners as $name=>$value) { $services[$name]=$name;