From 529dc09c3413105f791c492c8b2a2d08516d718c Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Mon, 26 Dec 2011 17:49:02 +0100 Subject: fix UserAngelTypes migration for *Engel --- db/update.d/15_UserAngelTypes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') 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; } -- cgit v1.2.3-70-g09d2