]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't spew warnings for URL shortener plugins that don't declare if they're free...
authorBrion Vibber <brion@pobox.com>
Thu, 29 Oct 2009 18:29:52 +0000 (14:29 -0400)
committerBrion Vibber <brion@pobox.com>
Thu, 29 Oct 2009 18:29:52 +0000 (14:29 -0400)
actions/othersettings.php

index 011b4fc83832e7c39de789855ea44067318a871f..d32a2d651cb390b2d248064d43543f0a233dbb9f 100644 (file)
@@ -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)';
                 }