Merge returns from insertData()

This commit is contained in:
Tom Needham 2012-03-11 22:13:50 +00:00
parent fa5a5649c6
commit a2d7e9c6e8
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ class OC_Migrate{
// Run the query for this match value (where x = y value)
$query = OC_DB::prepare( "SELECT * FROM *PREFIX*" . $options['table'] . " WHERE " . $options['matchcol'] . " LIKE ?" );
$results = $query->execute( array( $matchval ) );
$return = self::insertData( $results, $options );
//$return = array_merge( $return, $newreturns );
$newreturns = self::insertData( $results, $options );
$return = array_merge( $return, $newreturns );
}
} else {