Ticket #565 (closed Bug: fixed)

Opened 7 months ago

Last modified 5 months ago

Fix Model connect to DB

Reported by: Igor Owned by: Shadowhand
Priority: major Milestone: 2.2
Component: Libraries:Database Version: SVN HEAD
Keywords: Cc:

Description

In this situation create new connect to DB. Don't use exists of default group.

			// Load the default database if necessary
                       ($db === NULL) and $db = new Database('default');

Need change to:

                // Load the default database if necessary
               ($db === NULL) and $db = Database::instance('default');

Change History

Changed 5 months ago by Shadowhand

  • owner changed from zombor to Shadowhand
  • status changed from new to assigned

Changed 5 months ago by Shadowhand

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r3002.

Note: See TracTickets for help on using tickets.