Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

properly check the constant value

  • Loading branch information...
commit 7e274637a5c44a65274b452dc2bfcfda33b61904 1 parent beae701
Harald Ponce de Leon haraldpdl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  catalog/includes/classes/osc_template.php
2  catalog/includes/classes/osc_template.php
View
@@ -49,7 +49,7 @@ function buildBlocks() {
foreach ($tbgroups_array as $group) {
$module_key = 'MODULE_' . strtoupper($group) . '_INSTALLED';
- if ( defined($module_key) && tep_not_null($module_key) ) {
+ if ( defined($module_key) && tep_not_null(constant($module_key)) ) {
$modules_array = explode(';', constant($module_key));
foreach ( $modules_array as $module ) {
Please sign in to comment.
Something went wrong with that request. Please try again.