From 21206c45bf44d91bbefcafc70a4a5d499554e4bf Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sun, 31 Aug 2008 05:36:11 -0400 Subject: [PATCH] - Added the readonly attribute to tabs. - Clients that are not resellers can not change the basic web settings anymore. --- install/lib/mysql.lib.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/install/lib/mysql.lib.php b/install/lib/mysql.lib.php index b930bba..eac33e5 100644 --- a/install/lib/mysql.lib.php +++ b/install/lib/mysql.lib.php @@ -356,6 +356,7 @@ $database_name = $this->dbName; } $result = mysql_query("SHOW TABLES FROM `$database_name`"); + $tb_names = array(); for ($i = 0; $i < mysql_num_rows($result); $i++) { $tb_names[$i] = mysql_tablename($result, $i); } -- Gitblit v1.9.1