don't call auotloader with blank name
I debated putting in an assert in the autoloader but I'm worried that will break many things. Lets just plug this for now. Closes #803
Esse commit está contido em:
@@ -579,6 +579,9 @@ static Object pdo_stmt_instantiate(sp_PDOConnection dbh, CStrRef clsname,
|
||||
|
||||
static void pdo_stmt_construct(sp_PDOStatement stmt, Object object,
|
||||
CStrRef clsname, CVarRef ctor_args) {
|
||||
if (clsname.empty()) {
|
||||
return;
|
||||
}
|
||||
Class* cls = Unit::loadClass(clsname.get());
|
||||
if (!cls) {
|
||||
return;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário