Commit 4f90657e by Frédéric

Update CustomQueriesExtension.php

parent b4f9a5db
......@@ -229,7 +229,7 @@ class CustomQueriesExtension extends SimpleExtension
$tableName = $storage->getContenttypeTablename($contentType);
if(!$tableName) {
if(empty($tableName) || empty(str_replace('bolt_', '', $tableName))) {
return '';
}
$query = 'SELECT id FROM '.$tableName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment