initialize these variables before use to prevent warnings
This commit is contained in:
parent
23290f746f
commit
8a6590a7e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user