symphonycms2-extensions / CDI

Continuous Database Integration extension for Symphony
http://symphony-cms.com/
13 stars 11 forks source link

Logging Bug #35

Open davjand opened 12 years ago

davjand commented 12 years ago

You've got a bug on line 39 of your logging class:

// content updates in tbl_entries (includes tbl_entries_fields_*)
if (preg_match('/^(insert|delete|update)/i', $query) && preg_match("/({$config->tbl_prefix}entries)/i", $query)) return true;

$config->tbl_prefix should just be $tbl_prefix

This bug prevents it from correctly logging section changes