Ticket #693: no-plugin-error.patch
File no-plugin-error.patch, 615 bytes (added by peck, 16 years ago) |
---|
-
plugins/widgets/class.widgets.php
old new 146 146 if (is_callable($this->public_callback)) { 147 147 return call_user_func($this->public_callback,$this,$i); 148 148 } 149 return '<p>Callback not found for widget '.$this->id.'</p>'; 149 if (ini_get("display_errors") != "Off") { 150 return '<p>Callback not found for widget '.$this->id.'</p>'; 151 } 152 return ''; 150 153 } 151 154 152 155 /* Widget settings … … 230 233 return $res; 231 234 } 232 235 } 233 ?> 234 Pas de fin de ligne à la fin du fichier. 236 ?>