Merge returns from insertData()
This commit is contained in:
parent
fa5a5649c6
commit
a2d7e9c6e8
|
@ -227,8 +227,8 @@ class OC_Migrate{
|
||||||
// Run the query for this match value (where x = y value)
|
// Run the query for this match value (where x = y value)
|
||||||
$query = OC_DB::prepare( "SELECT * FROM *PREFIX*" . $options['table'] . " WHERE " . $options['matchcol'] . " LIKE ?" );
|
$query = OC_DB::prepare( "SELECT * FROM *PREFIX*" . $options['table'] . " WHERE " . $options['matchcol'] . " LIKE ?" );
|
||||||
$results = $query->execute( array( $matchval ) );
|
$results = $query->execute( array( $matchval ) );
|
||||||
$return = self::insertData( $results, $options );
|
$newreturns = self::insertData( $results, $options );
|
||||||
//$return = array_merge( $return, $newreturns );
|
$return = array_merge( $return, $newreturns );
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue