From 201cbb56b6faa33b814344034954a9efdde65e49 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 29 Oct 2009 14:29:52 -0400 Subject: Don't spew warnings for URL shortener plugins that don't declare if they're free services. --- actions/othersettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/othersettings.php') diff --git a/actions/othersettings.php b/actions/othersettings.php index 011b4fc83..d32a2d651 100644 --- a/actions/othersettings.php +++ b/actions/othersettings.php @@ -103,7 +103,7 @@ class OthersettingsAction extends AccountSettingsAction foreach($_shorteners as $name=>$value) { $services[$name]=$name; - if($value['info']['freeService']){ + if(!empty($value['info']['freeService'])){ // I18N $services[$name].=' (free service)'; } -- cgit v1.2.3-54-g00ecf