initialize these variables before use to prevent warnings

This commit is contained in:
Craig Andrews 2009-11-11 17:09:00 -05:00
parent 23290f746f
commit 8a6590a7e8

View File

@ -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;