summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-10-29 14:29:52 -0400
committerBrion Vibber <brion@pobox.com>2009-10-29 14:29:52 -0400
commit201cbb56b6faa33b814344034954a9efdde65e49 (patch)
treea7e28e472a69887f34506989af0d5736e68689e6
parentfd650715fa934df9b7e560881bfb622860588599 (diff)
Don't spew warnings for URL shortener plugins that don't declare if they're free services.
-rw-r--r--actions/othersettings.php2
1 files changed, 1 insertions, 1 deletions
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)';
}