From edb9c660e64dadd6891098b043ea1336c94edf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 30 Jun 2001 16:02:31 +0000 Subject: [PATCH] Fixed a bug with PHP3 --- db_details.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_details.php3 b/db_details.php3 index 163b3be0e..ed157fa7a 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -24,7 +24,7 @@ if ($num_tables>0 && MYSQL_MAJOR_VERSION>=3.23 && intval(MYSQL_MINOR_VERSION)>=3 // Blending out tables in use if ($result!=false && mysql_num_rows($result)>0){ while ($tmp=mysql_fetch_array($result)){ - if (preg_match("/in_use=[1-9]+/",$tmp["Comment"])){ // in use? + if (preg_match("/in_use=[1-9]+/",$tmp['Comment'])){ // in use? // memorize tablename $sot_cache[$tmp[0]]=true; }