Date: 11/11/99
- Next message: negro: "[PHPLIB-DEV] cvs commit"
- Previous message: marcr <email protected>: "(no subject)"
- Next in thread: negro: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: athompso
Date: Thu Nov 11 07:14:52 1999
Modified files:
php-lib/CHANGES
php-lib/php/table.inc
Log message:
fixed "bug" in table.inc for people running at php3_error_reporting > 7
Index: php-lib/CHANGES
diff -u php-lib/CHANGES:1.144 php-lib/CHANGES:1.145
--- php-lib/CHANGES:1.144 Wed Nov 10 14:25:41 1999
+++ php-lib/CHANGES Thu Nov 11 07:14:51 1999
@@ -1,4 +1,10 @@
-$Id: CHANGES,v 1.144 1999/11/10 13:25:41 kk Exp $
+$Id: CHANGES,v 1.145 1999/11/11 06:14:51 athompso Exp $
+
+11-Nov-1999 ant
+ - fixed more "unset variable" warnings for the paranoid among us,
+ in table.inc. All relating to if($debug) constructs. Note that
+ instead of doing if(isset(debug)){ if($debug), I just used
+ if(@$debug) this time. I don't think this is a problem...
10-Nov-1999 kk
- Hey, it is much faster this way. We do not need to call a PHP
Index: php-lib/php/table.inc
diff -u php-lib/php/table.inc:1.19 php-lib/php/table.inc:1.20
--- php-lib/php/table.inc:1.19 Wed Oct 27 15:17:36 1999
+++ php-lib/php/table.inc Thu Nov 11 07:14:51 1999
@@ -6,7 +6,7 @@
* Boris Erdmann, Kristian Koehntopp,
* Jeffrey Galbraith
*
- * $Id: table.inc,v 1.19 1999/10/27 13:17:36 kk Exp $
+ * $Id: table.inc,v 1.20 1999/11/11 06:14:51 athompso Exp $
*
* History: 990617: Modularized entire table class. Modularity breaks larger
* objects into smaller, autonomous objects in order to
@@ -322,7 +322,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_rows()<br>\n");
if (!$this->verify_2d_array($ary))
@@ -355,7 +355,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_rows_result()<br>\n");
if (!$this->verify_db($db))
@@ -392,7 +392,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_page_rows()<br>\n");
if (!$this->verify_2d_array($ary))
@@ -432,7 +432,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_page_rows_result()<br>\n");
if (!$this->verify_db($db))
@@ -469,7 +469,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>table_row()<br>\n");
$d = $this->select_colnames($data);
@@ -504,7 +504,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>set_checkbox_heading()<br>\n");
## Checkbox handling...
@@ -529,7 +529,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>set_checkbox()<br>\n");
## Checkbox handling...
@@ -552,7 +552,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_heading_cells()<br>\n");
if (!$this->verify_array($data))
@@ -588,7 +588,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>show_table_cells()<br>\n");
if (!$this->verify_array($data))
@@ -830,7 +830,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>select_colnames()<br>\n");
if (!is_array($this->fields) && is_array($data))
@@ -844,7 +844,7 @@
}
$d = $this->fields;
- if ($debug)
+ if (@$debug)
{
print_array($d);
printf("select_colnames() return<br>");
@@ -881,7 +881,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>table_open()<br>\n");
printf("<table%s>\n", $class?" class=$class":"");
@@ -901,7 +901,7 @@
{
global $debug;
- if ($debug)
+ if (@$debug)
printf("<p>table_close()<br>\n");
printf("</table>\n");
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: negro: "[PHPLIB-DEV] cvs commit"
- Previous message: marcr <email protected>: "(no subject)"
- Next in thread: negro: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

