|
From: Benjamin C. <bc...@us...> - 2004-10-25 12:15:59
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30834 Modified Files: include.php Log Message: Clobber notices when rendering the template. Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.127 retrieving revision 1.128 diff -u -r1.127 -r1.128 --- include.php 25 Oct 2004 12:06:57 -0000 1.127 +++ include.php 25 Oct 2004 12:15:49 -0000 1.128 @@ -110,6 +110,7 @@ } function render($content_template, $page_title, $wrap_file = '', $nowrap = false) { + error_reporting(E_ALL ^ E_NOTICE); // Clobber notices in template output extract($this->vars); $path = defined('TEMPLATE_PATH') ? './templates/'.THEME.'/'.TEMPLATE_PATH.'/' |