From 201cbb56b6faa33b814344034954a9efdde65e49 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 29 Oct 2009 14:29:52 -0400 Subject: [PATCH] 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(-) diff --git a/actions/othersettings.php b/actions/othersettings.php index 011b4fc838..d32a2d651c 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)'; } -- 2.39.5