Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice caused by R::selectDatabase #458

Closed
NorHei opened this issue Jul 26, 2015 · 2 comments
Closed

Notice caused by R::selectDatabase #458

NorHei opened this issue Jul 26, 2015 · 2 comments

Comments

@NorHei
Copy link

@NorHei NorHei commented Jul 26, 2015

When selecting a nonexistent Database like
R::selectDatabase( 'defaulddt' );

I get a php notice.

Notice: Undefined index: defaulddt in /var/www/web999/html/crudsomewhere_de/classes/rb.php on line 10280

Version 4.2.3 . PHP 5.6 fast CGI

@gabordemooij
Copy link
Owner

@gabordemooij gabordemooij commented Jul 27, 2015

Thanks for reporting this issue.
I think I am going to change this so the function will throw an exception instead.

@NorHei
Copy link
Author

@NorHei NorHei commented Jul 27, 2015

This would be really nice!

gabordemooij pushed a commit that referenced this issue Jul 28, 2015
@NorHei NorHei closed this Aug 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.