From 8a6590a7e800e33787ffc55dbd0b2b36ff140504 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 11 Nov 2009 17:09:00 -0500 Subject: [PATCH] initialize these variables before use to prevent warnings --- actions/othersettings.php | 2 ++ 1 file changed, 2 insertions(+) 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;