summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2011-12-26 17:49:02 +0100
committerJan-Philipp Litza <janphilipp@litza.de>2011-12-26 17:49:02 +0100
commit529dc09c3413105f791c492c8b2a2d08516d718c (patch)
tree2f2b9b10e1107a3bc5bb8dca09e236aba2e7e238
parent01e7bdce1d0a232610b531661f418b0606c0fa84 (diff)
fix UserAngelTypes migration for *Engel
-rw-r--r--db/update.d/15_UserAngelTypes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/update.d/15_UserAngelTypes.php b/db/update.d/15_UserAngelTypes.php
index 81a13f4e..5609c06f 100644
--- a/db/update.d/15_UserAngelTypes.php
+++ b/db/update.d/15_UserAngelTypes.php
@@ -11,7 +11,7 @@ if(sql_num_query("SHOW TABLES LIKE 'UserAngelTypes'") === 0) {
SELECT `User`.`UID`, `AngelTypes`.`id`
FROM `User`
INNER JOIN `AngelTypes`
- ON TRIM(TRAILING 'Angel' FROM `User`.`Art`) = `AngelTypes`.`name`");
+ ON TRIM(TRAILING 'Engel' FROM TRIM(TRAILING 'Angel' FROM `User`.`Art`)) = `AngelTypes`.`name`");
$applied = true;
}