Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#7] Tables contstants loaded only if database isn't enabled

  • Loading branch information...
commit 0cd13a4b9f80746090a8a13ba0d5bdf2f08f8d5b 1 parent 110f887
@carlo94it carlo94it authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Bokeh-Platform/includes/db_tables.php
View
2  Bokeh-Platform/includes/db_tables.php
@@ -23,7 +23,7 @@
# Do not add table constants
# if database is not enabled
-if (!defined('ENABLE_DATABASE') || !ENABLE_DATABASE)
+if (defined('ENABLE_DATABASE') && ENABLE_DATABASE)
{
# Defines each table name
foreach($tables_name as $key => $val)
Please sign in to comment.
Something went wrong with that request. Please try again.