Skip to content

Commit 2d27726

Browse files
committed
minor fix for php notice
1 parent dac32d4 commit 2d27726

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function get_module_db($module)
140140
return clone $GLOBALS[$module.'_dbh'];
141141
} else {
142142
if ($module != '' && $module != 'default') {
143-
myadmin_log('myadmin', 'info', "Tried to get_module_db(${module}) and GLOBALS[${module}_dbh] does not exist, falling back to GLOBALS['tf']->db", __LINE__, __FILE__, $module);
143+
myadmin_log('myadmin', 'info', "Tried to get_module_db({$module}) and GLOBALS[{$module}_dbh] does not exist, falling back to GLOBALS['tf']->db", __LINE__, __FILE__, $module);
144144
}
145145
return clone $GLOBALS['tf']->db;
146146
}

0 commit comments

Comments
 (0)