From a0201bca69ff5c55d163796db8c07ec60d9139c3 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Fri, 4 Feb 2011 13:37:39 +0100 Subject: [PATCH] Fix node update hook broken in the previous commit --- mkdru.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdru.module b/mkdru.module index e7541ab..0c9e36b 100644 --- a/mkdru.module +++ b/mkdru.module @@ -207,7 +207,7 @@ function mkdru_update($node) { mkdru_insert($node); } else { - db_query("UPDATE {mkdru} SET pz2_path = '%s', use_sessions = %d, source_max = %d, author_max = %d, subject_max = %d, sp_user = '%s', sp_pass = '%s' WHERE vid = %d", $node->pz2_path, $node->use_sessions, $node->source_max, $node->author_max, $node->subject_max, $node->vid); + db_query("UPDATE {mkdru} SET pz2_path = '%s', use_sessions = %d, source_max = %d, author_max = %d, subject_max = %d, sp_user = '%s', sp_pass = '%s' WHERE vid = %d", $node->pz2_path, $node->use_sessions, $node->source_max, $node->author_max, $node->subject_max, $node->sp_user, $node->sp_pass, $node->vid); } } -- 1.7.10.4