--- nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php 2003/02/22 21:07:23 1.2 +++ nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php 2003/09/20 00:20:55 1.3 @@ -6,7 +6,7 @@ * and have the browser switch between the tabs * without a request to the server. * - * $Id: widget8.php,v 1.2 2003/02/22 21:07:23 jonen Exp $ + * $Id: widget8.php,v 1.3 2003/09/20 00:20:55 jonen Exp $ * * @author Walter A. Boring IV * @package phpHtmlLib @@ -27,7 +27,9 @@ XHTML_TRANSITIONAL); //enable output debugging. -$page->set_text_debug( $_GET["debug"] ); +if (isset($_GET['debug'])) { + $page->set_text_debug( TRUE ); +} //use the default theme $page->add_css_link( "/phphtmllib/css/defaulttheme.php" );