Skip to content

Bug in ORM.php #46

Closed
danschultzer opened this Issue Apr 9, 2013 · 1 comment

2 participants

@danschultzer

In vendor/micro/micro/Micro/ORM.php:341

It says

        if(empty(static::$has_many_through[$alias]))
        {
            throw new Exception ($alias . ' relation not found');
        }

But ORM is inside the Micro namespace, so it should be

        if(empty(static::$has_many_through[$alias]))
        {
            throw new \Exception($alias . ' relation not found');
        }
@Xeoncross
Owner

Thank you for mentioning this. Fixed

@Xeoncross Xeoncross closed this Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.