Development

#2267: sfPropelDatabase.diff

You must first sign up to be able to contribute.

Ticket #2267: sfPropelDatabase.diff

File sfPropelDatabase.diff, 0.6 kB (added by tohenk, 1 year ago)
  • lib/plugins/sfPropelPlugin/lib/propel/database/sfPropelDatabase.class.php

    old new  
    3333 
    3434  public function initialize($parameters = null, $name = 'propel') 
    3535  { 
     36    if (is_null($parameters) || empty($parameters)) 
     37    { 
     38      return; 
     39    } 
     40 
    3641    parent::initialize($parameters); 
    3742 
    3843    if (!$this->hasParameter('datasource'))