[geeklog-hg] geeklog: Fixed variable not initialized in polls plugin upgrade....

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Oct 26 11:02:10 EDT 2013


changeset 9326:6c0b07d51b99
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6c0b07d51b99
user: Tom <websitemaster at cogeco.net>
date: Sat Oct 26 10:50:43 2013 -0400
description:
Fixed variable not initialized in polls plugin upgrade. Patch provided by ErwanH (bug #0001713)

diffstat:

 plugins/polls/sql/mysql_updates.php |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r eac3cd7a4842 -r 6c0b07d51b99 plugins/polls/sql/mysql_updates.php
--- a/plugins/polls/sql/mysql_updates.php	Sat Oct 26 10:09:53 2013 -0400
+++ b/plugins/polls/sql/mysql_updates.php	Sat Oct 26 10:50:43 2013 -0400
@@ -108,6 +108,8 @@
 function polls_update_polltopics()
 {
     global $_TABLES;
+    
+    $P_SQL = array();
 
     $move_sql = "SELECT pid, topic FROM {$_TABLES['polltopics']}";
     $move_rst = DB_query($move_sql);



More information about the geeklog-cvs mailing list