Development

#2524 (sfDebugConnection uses undefined variable in Exception)

You must first sign up to be able to contribute.

Ticket #2524 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

sfDebugConnection uses undefined variable in Exception

Reported by: pminnieur Assigned to: fabien
Priority: minor Milestone: 1.0.10
Component: model Version: 1.1.0 DEV
Keywords: creole debug connection Cc:
Qualification: Unreviewed

Description

The variable $type is not defined in the functions scope.

Line 77-82 - /trunk/lib/plugins/sfPropelPlugin/lib/creole/drivers/sfDebugConnection.php

  public function connect($dsninfo, $flags = 0)
  {
    if (!($driver = Creole::getDriver($dsninfo['phptype'])))
    {
      throw new SQLException(sprintf('No driver has been registered to handle connection type: %s.', $type));
    }
  // ...

Change History

12/07/07 21:22:54 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [6379]) fixed typo in sfDebugConnection (closes #2524)

12/07/07 21:23:04 changed by fabien

  • milestone set to 1.0.10.

12/07/07 21:23:22 changed by fabien

in r6378