mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add method rbt()
This commit is contained in:
parent
72e7e2aa20
commit
fd5b5034db
|
@ -213,6 +213,16 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
return $this->_conn->quote($text);
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Replace back ticks by '"'
|
||||
*
|
||||
* @param string text
|
||||
* @return string sanitized string
|
||||
*/
|
||||
function rbt($text) { /* {{{ */
|
||||
return str_replace('`', '"');
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Execute SQL query and return result
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user