This commit is contained in:
MatteoPistorello 2022-03-24 11:11:39 +01:00
commit 59dadc707b
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);
}
/**