From: Jakub Skoczen Date: Fri, 4 Feb 2011 12:37:39 +0000 (+0100) Subject: Fix node update hook broken in the previous commit X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a0201bca69ff5c55d163796db8c07ec60d9139c3;p=mkdru-moved-to-drupal.org.git Fix node update hook broken in the previous commit --- 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); } }