Add Monolog
This commit is contained in:
committed by
Hypolite Petovan
parent
518f28a7bf
commit
2e602afd3e
@@ -34,7 +34,7 @@ function acl_content(App $a)
|
||||
$search = $_REQUEST['query'];
|
||||
}
|
||||
|
||||
Logger::log("Searching for ".$search." - type ".$type." conversation ".$conv_id, Logger::DEBUG);
|
||||
Logger::info('ACL {action} - {subaction}', ['module' => 'acl', 'action' => 'content', 'subaction' => 'search', 'search' => $search, 'type' => $type, 'conversation' => $conv_id]);
|
||||
|
||||
if ($search != '') {
|
||||
$sql_extra = "AND `name` LIKE '%%" . DBA::escape($search) . "%%'";
|
||||
|
||||
Reference in New Issue
Block a user