From: Brion Vibber Date: Thu, 29 Oct 2009 18:29:52 +0000 (-0400) Subject: Don't spew warnings for URL shortener plugins that don't declare if they're free... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=201cbb56b6faa33b814344034954a9efdde65e49;p=quix0rs-gnu-social.git Don't spew warnings for URL shortener plugins that don't declare if they're free services. --- 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)'; }