summaryrefslogtreecommitdiff
path: root/actions/othersettings.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-11 17:09:00 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-11 17:09:00 -0500
commit8a6590a7e800e33787ffc55dbd0b2b36ff140504 (patch)
treed75331c069b02e49f62e009aa2dbf56bf76e5b0d /actions/othersettings.php
parent23290f746f7ef9567e95ecbb06baf17f246a3fe7 (diff)
initialize these variables before use to prevent warnings
Diffstat (limited to 'actions/othersettings.php')
-rw-r--r--actions/othersettings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/othersettings.php b/actions/othersettings.php
index 1d252f34e..0de7cd908 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;