im new to this forum & new to mantis development too.
I have an issue with an update query.
Query/Code looks like:
Code: Select all
$filterString= "{";
$update_filter_query = "UPDATE mantis_filters_table SET filter_string='".$filterString."';
# execute SQL query
$update_filter_query_result = db_query($update_filter_query);
# print results
var_dump($update_filter_query); //result displayed is as wanted '{'
--> not as wanted '{'
The issue seems to be in process_sql_syntax() in DbQuery.class.php:
Code: Select all
$this->db_query_string = strtr( $this->db_query_string,
array( '{' => $s_prefix, '}' => $s_suffix )
);
Any ideas for a workaround?
I've searched in this forum and in web, but as i said im quiet new to the "mantis-world" and got no workaround yet.