Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
59dadc707b
|
@ -46,8 +46,7 @@ function database()
|
|||
*/
|
||||
function prepare($parameter)
|
||||
{
|
||||
if (!empty($parameter))
|
||||
return database()->prepare($parameter);
|
||||
return database()->prepare($parameter);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue