
greg at endpoint
May 14, 2008, 5:34 PM
Post #1 of 1
(86 views)
Permalink
|
|
Re: [MediaWiki-CVS] SVN: [34829] trunk/extensions/SocialProfile
|
|
... > *fix sql issues when wgDBprefix was set and bad sql was generated ... > - $dbr->insert( $wgDBprefix.'`user_board`', > + $dbr->insert( '`'.$wgDBprefix.'user_board`', I don't think you need this at all - just pass in the table name directly to the insert() function. It in turn passes it to $dbr->tableName, which takes care of all the quoting and prefixing for you. -- Greg Sabino Mullane greg[at]turnstep.com PGP Key: 0x14964AC8 200805142029 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC
|