Permalink
Browse files

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

  • Loading branch information...
1 parent 110f887 commit 0cd13a4b9f80746090a8a13ba0d5bdf2f08f8d5b @carlo94it carlo94it committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 0cd13a4

Please sign in to comment.