aerial-framework / core

Aerial Framework core
http://aerial-project.org
Other
7 stars 0 forks source link

Use of is_undefined not valid when only using Doctrine #9

Open ahillman3 opened 13 years ago

ahillman3 commented 13 years ago

In the Aerial_Record.php, protected function arrayToCollection($fieldName, $array)

It is using the is_undefined function, that exists in gateway.php, which i loaded in server.php.

When using Doctrine directly from PHP, this function isn't defined.

dannykopping commented 13 years ago

Ah, good point. Perhaps we should stick it in a utility class that gets loaded somewhere else, or at least must get initialized by someone using straight PHP... what do you think?

dannykopping commented 13 years ago

Ooops, closed it by accident