Regression introduced in daa5f87f fixed by XRevan86

require_once(): Failed opening required 'Error.php' in extlib/DB/DataObject.php on line 562
This commit is contained in:
Diogo Cordeiro 2019-07-01 22:42:37 +01:00
parent 0a4eeb89da
commit 5eb61c17d4

View File

@ -558,8 +558,7 @@ class DB_DataObject extends DB_DataObject_Overload
if ((new PEAR)->isError($message)) {
$error = $message;
} else {
//require_once 'DB/DataObject/Error.php';
require_once 'Error.php';
require_once 'DB/DataObject/Error.php';
$dor = new PEAR();
$error = $dor->raiseError(
$message,