I might be out to lunch here, but I'm getting an 'Undefined index: default' on line 221.
I'm sure others who don't suppress notices also have this issue.
I believe that changing the !is_object to a !isset (or at the very least checking for the existence of the 'default' connection within $_db by using 'array_key_exists' and THEN seeing if it's a PDO object) would be a better solution.
thoughts?
(otherwise, i love this ORM/AR combo of idiorm and paris).
I might be out to lunch here, but I'm getting an 'Undefined index: default' on line 221.
I'm sure others who don't suppress notices also have this issue.
I believe that changing the !is_object to a !isset (or at the very least checking for the existence of the 'default' connection within $_db by using 'array_key_exists' and THEN seeing if it's a PDO object) would be a better solution.
thoughts?
(otherwise, i love this ORM/AR combo of idiorm and paris).