mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 19:12:42 +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);
|
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
|
* Execute SQL query and return result
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user