FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Newbie question: where to check in bug fix on sourceforge?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Newbie question: where to check in bug fix on sourceforge? [message #167717 is a reply to message #167711] Wed, 05 September 2012 17:49 Go to previous messageGo to previous message
DPhan is currently offline  DPhan   United States
Messages: 9
Registered: September 2012
Location: San Jose, Calif
Karma:
Junior Member
The problem was the lack the quote characters for the registration_ip in the SQL insert statement in the function fud_add_user()

diff -u fudapi.inc.php-orig fudapi.inc.php

--- fudapi.inc.php-orig 2012-09-05 10:44:14.000000000 -0700
+++ fudapi.inc.php 2012-09-05 10:44:19.000000000 -0700
@@ -722,7 +722,7 @@
'. ssn(htmlspecialchars($vals['home_page'])) .',
'. ssn($vals['bio']) .',
'. (int)$vals['users_opt'] .',
- '. $vals['registration_ip'] .'
+ \''. $vals['registration_ip'] .'\'
)
');
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Add a canonical link to the message page
Next Topic: Code fix for the fatal division by zero error if moderator uses "move selected" button
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 00:53:54 GMT 2024

Total time taken to generate the page: 0.03806 seconds