From 986c2cf507d616c13bf72f78e5512403bf400031 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Wed, 25 Jul 2012 11:34:08 +0000 Subject: [PATCH] fix sql error --- db_scripts/diff/9723.up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_scripts/diff/9723.up b/db_scripts/diff/9723.up index ef680acb..4c504962 100644 --- a/db_scripts/diff/9723.up +++ b/db_scripts/diff/9723.up @@ -27,7 +27,7 @@ INSERT INTO voip_preferences_enum VALUES (@ofd_pref_id, 'use domain default', NULL, 1, 0, 0, 0), (@ofd_pref_id, 'None', 'none', 1, 0, 0, 0); -UPDATE voip_preferences SET description='The content to put into the From display-name for outbound calls from the platform to the subscriber' WHERE @ofd_pref_id; +UPDATE voip_preferences SET description='The content to put into the From display-name for outbound calls from the platform to the subscriber' WHERE id=@ofd_pref_id; SELECT id FROM voip_preferences WHERE attribute='outbound_pai_user' INTO @pau_pref_id; UPDATE voip_preferences_enum SET usr_pref=0 WHERE preference_id=@pau_pref_id AND