Development

Changeset 4942

You must first sign up to be able to contribute.

Changeset 4942

Show
Ignore:
Timestamp:
08/30/07 16:14:58 (2 years ago)
Author:
fabien
Message:

fixed append parameter for propel:data-load task (closes #2149)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/task/propel/sfPropelDataLoadTask.class.php

    r4743 r4942  
    9494 
    9595    $data = new sfPropelData(); 
    96     $data->setDeleteCurrentData(isset($options['append']) ? false : true); 
     96    $data->setDeleteCurrentData(isset($options['append']) ? ($options['append'] ? false : true) : true); 
    9797 
    9898    foreach ($fixturesDirs as $fixturesDir) 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.