Fix classe Database

This commit is contained in:
loviuz 2022-03-24 11:03:01 +01:00
parent 3316b95a5e
commit 578bac8d1e
2 changed files with 2 additions and 5 deletions

View File

@ -46,8 +46,7 @@ function database()
*/
function prepare($parameter)
{
if (!empty($parameter))
return database()->prepare($parameter);
return database()->prepare($parameter);
}
/**

View File

@ -390,9 +390,7 @@ class Database extends Util\Singleton
*/
public function prepare($parameter)
{
if (!empty($parameter))
return $this->getPDO()->quote($parameter);
return $this->getPDO()->quote($parameter);
}
/**