]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20170719231144.php
Fixed lower case tags migration
[github/wallabag/wallabag.git] / app / DoctrineMigrations / Version20170719231144.php
index 9a6f3e938a0f751144715245ad0eca4f89e88f7c..867540331f840391e3a6d26b927bc0238ffbae75 100644 (file)
@@ -75,7 +75,7 @@ class Version20170719231144 extends AbstractMigration implements ContainerAwareI
                     WHERE  tag_id IN (' . implode(',', $ids) . ')
                         AND entry_id NOT IN (
                            SELECT entry_id
-                           FROM ' . $this->getTable('entry_tag') . '
+                           FROM (SELECT * FROM ' . $this->getTable('entry_tag') . ') AS _entry_tag
                            WHERE tag_id = ' . $newId . '
                         )'
                 );