src/Context/SQLHandler.php
private function getUserInputEntity($entity)
    {
        // Get rid of any special chars introduced.
        $entity = $this->makeSQLUnsafe($entity);

        // Only replace first occurrence.
        return preg_replace('/' . $this->getParams()['DBPREFIX'] . '/', '', $entity, 1);
    }
private function getUserInputEntity($entity)
    {
        // Get rid of any special chars introduced.
        $entity = $this->makeSQLUnsafe($entity);

        // Only replace first occurrence.
        return preg_replace('/' . $this->getParams()['DBPREFIX'] . '/', '', $entity, 1);
    }
private function getUserInputEntity ( $ entity ) { // Get rid of any special chars introduced. $ entity = $ this -> makeSQLUnsafe ( $ entity ) ; // Only replace first occurrence. return preg_replace ( '/' . $ this -> getParams ( ) [ 'DBPREFIX' ] . '/' , '' , $ entity , 1 ) ; }
Get the entity the way the user had inputted it.
Get the entity the way the user had inputted it .