Breaking: #77453 - Signature of AbstractPlugin::pi_exec_query changed
See forge#77453
Description
The value returned by
Abstract
has changed.
Instead of returning one of
bool
,
\mysqli_
or
object
the method always returns a
\Doctrine\
.
Impact
3rd Party extensions using
Abstract
need to be modified
to work with the new return type.
Affected Installations
Installations using 3rd party extensions that use
Abstract
.
Migration
Migrate your code to use the
Statement
object:
$statement = $this->pi_exec_query(...);
while($row = $statement->fetch())
{
// ... do something here
}
Copied!