Author: david
Date: Mon Jul 4 14:21:34 2011
New Revision: 9242
Log:
Clear $newRows array between tables
Modified:
trunk/lib/task/propelGenerateSlugsTask.class.php
Modified: trunk/lib/task/propelGenerateSlugsTask.class.php
==============================================================================
--- trunk/lib/task/propelGenerateSlugsTask.class.php Mon Jul 4 11:50:59
2011 (r9241)
+++ trunk/lib/task/propelGenerateSlugsTask.class.php Mon Jul 4 14:21:34
2011 (r9242)
@@ -75,6 +75,7 @@
foreach ($tables as $table => $classname)
{
$this->logSection('propel', "Generate $table slugs...");
+ $newRows = array(); // reset
switch ($table)
{
@@ -133,7 +134,7 @@
}
}
- $slugs[$slug] = true; // Lookup table
+ $slugs[$slug] = true; // Add to lookup table
$newRows[] = array($row[0], $slug); // To add to slug table
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.