summaryrefslogtreecommitdiffstats
path: root/lib/migration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/migration')
-rw-r--r--lib/migration/content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/migration/content.php b/lib/migration/content.php
index 400a46a4340..2d8268a1d74 100644
--- a/lib/migration/content.php
+++ b/lib/migration/content.php
@@ -112,7 +112,7 @@ class OC_Migration_Content{
foreach( $options['matchval'] as $matchval ) {
// Run the query for this match value (where x = y value)
- $sql = 'SELECT * FROM `*PREFIX*' . $options['table'] . '` WHERE `' . $options['matchcol'] . '` LIKE ?';
+ $sql = 'SELECT * FROM `*PREFIX*' . $options['table'] . '` WHERE `' . $options['matchcol'] . '` = ?';
$query = OC_DB::prepare( $sql );
$results = $query->execute( array( $matchval ) );
$newreturns = $this->insertData( $results, $options );