Currently, if a script attempts to pass a failed database connection resource to the Toolkit constructor, this value of false gets interpreted as a blank system name, causing the toolkit to try a new database connection to this blank system name, rather than realizing a failed connection was passed in.
We should throw an Exception if a value of false is passed for $databaseNameOrResource.
Currently, if a script attempts to pass a failed database connection resource to the Toolkit constructor, this value of false gets interpreted as a blank system name, causing the toolkit to try a new database connection to this blank system name, rather than realizing a failed connection was passed in.
We should throw an Exception if a value of false is passed for $databaseNameOrResource.