be more efficient

This commit is contained in:
El RIDO 2022-11-06 07:40:39 +01:00
parent f4eed668e7
commit 3028c22c20
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -289,11 +289,11 @@ class Database extends AbstractData
{
try {
$row = $this->_select(
'SELECT * FROM "' . $this->_sanitizeIdentifier('paste') .
'SELECT "dataid" FROM "' . $this->_sanitizeIdentifier('paste') .
'" WHERE "dataid" = ?', array($pasteid), true
);
} catch (Exception $e) {
$row = false;
return false;
}
return (bool) $row;
}