php-rql icon indicating copy to clipboard operation
php-rql copied to clipboard

DatumConverter invokes autoload

Open ForbiddenEra opened this issue 5 years ago • 2 comments

rdb/DatumConverter.php:37 should be: if (is_subclass_of($val, "\\r\\Query", FALSE) && !is_subclass_of($val, '\r\Datum\Datum', FALSE)) {

unless I'm doing something wrong, trying to insert anything but a true/false value results in autoloader invoking and causing an error.

adding this fixed it.

ForbiddenEra avatar Sep 24 '19 03:09 ForbiddenEra

https://github.com/danielmewes/php-rql/pull/148 solved this behavior. It may now need some update since the owner hasn't been there for long and the pull hasn't been merged.

Geekimo avatar Sep 24 '19 11:09 Geekimo

I discovered similar behavior. @danielmewes May be possible to review and merge PR #148 ?

c01nd01r avatar Dec 05 '19 11:12 c01nd01r