Fix undefined variable warnings
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 28 Jan 2010 22:38:43 +0000 (15:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 28 Jan 2010 22:38:43 +0000 (15:38 -0700)
framework/Text_Filter/lib/Horde/Text/Filter/Linkurls.php

index f35e048..c317502 100644 (file)
@@ -69,7 +69,7 @@ class Horde_Text_Filter_Linkurls extends Horde_Text_Filter
             ' target="_blank"' . $class .
             '>\' . htmlspecialchars(\'$0\') . \'</a>';
 
-        if ($this->_params['noprefetch']) {
+        if (!empty($this->_params['noprefetch'])) {
             $replacement = '<meta http-equiv="x-dns-prefetch-control" value="off" />' .
                 $replacement .
                 '<meta http-equiv="x-dns-prefetch-control" value="on" />';