Skip to content
Snippets Groups Projects
Commit faa16c68 authored by hahn's avatar hahn
Browse files

action log quotes in message

parent 94077fe2
No related branches found
No related tags found
1 merge request!195534 add docker
...@@ -82,7 +82,7 @@ class Actionlog { ...@@ -82,7 +82,7 @@ class Actionlog {
*/ */
private function _makeQuery($sSql) { private function _makeQuery($sSql) {
// $this->_log(__FUNCTION__."($sSql)"); // $this->_log(__FUNCTION__."($sSql)");
// echo "<pre>$sSql</pre>"; // echo "<pre>".htmlentities($sSql)."</pre>";
$db = new PDO("sqlite:" . $this->_dbfile); $db = new PDO("sqlite:" . $this->_dbfile);
$result = $db->query($sSql); $result = $db->query($sSql);
/* /*
...@@ -113,7 +113,7 @@ class Actionlog { ...@@ -113,7 +113,7 @@ class Actionlog {
'" . $this->_sUser . "', '" . $this->_sUser . "',
'" . $this->_sProject . "', '" . $this->_sProject . "',
'" . $sAction . "', '" . $sAction . "',
'" . $sMessage . "' '" . str_replace("'", '"', $sMessage) . "'
); );
"; ";
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment