Fix SQL query syntax in monitor_buttons.php
This commit is contained in:
parent
735322b8bc
commit
1b0cddc818
1 changed files with 3 additions and 3 deletions
|
|
@ -22,8 +22,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$mysql_dbs = $db->resultQuery("SELECT db_id FROM `".OGP_DB_PREFIX."mysql_databases` WHERE enabled=1 AND home_id=".$server_home['home_id']);
|
||||||
$mysql_dbs = $db->resultQuery("SELECT db_id FROM OGP_DB_PREFIXmysql_databases WHERE enabled=1 AND home_id=".$server_home['home_id']);
|
//$mysql_dbs = $db->resultQuery("SELECT db_id FROM OGP_DB_PREFIXmysql_databases WHERE enabled=1 AND home_id=".$server_home['home_id']);
|
||||||
if(!empty($mysql_dbs))
|
if(!empty($mysql_dbs))
|
||||||
{
|
{
|
||||||
$module_buttons = array(
|
$module_buttons = array(
|
||||||
|
|
@ -35,4 +35,4 @@ if(!empty($mysql_dbs))
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$module_buttons = array();
|
$module_buttons = array();
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue