Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: alleh on June 21, 2014, 02:58:55 PM

Title: bug in 2.0.7 to 2.0.8 update script
Post by: alleh on June 21, 2014, 02:58:55 PM
I have to manually update my SMF due to my server being in nazi mode, and while updating the files by hand, I've found out somebody ******ed up in the package script.
It's an operation for $sourcedir/Memberlist.php

<operation>
<search position="after"><![CDATA[
$condition = allowedTo('moderate_forum') ? '' : ')';
]]></search>
<add><![CDATA[
$serach_fields[] = 'email';
]]></add>
</operation>


Somebody wrote $serach_fields[] = 'email'; instead of $search_fields[] = 'email';

Title: Re: bug in 2.0.7 to 2.0.8 update script
Post by: margarett on June 21, 2014, 03:06:31 PM
It has been reported already ;)
Thank you for noticing, though :)
Title: Re: bug in 2.0.7 to 2.0.8 update script
Post by: alleh on June 21, 2014, 03:22:47 PM
Alright, my bad. I ran a search in the subforum and it didn't return any match, so I thought it wasn't reported.
Title: Re: bug in 2.0.7 to 2.0.8 update script
Post by: kat on June 21, 2014, 04:21:48 PM
Too many reports are a lot better then not enough. ;)

Thanks, Alleh.