Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Dr. Deejay on September 7th, 2012, 04:00 PM
-
When viewing the memberlist, you get errors like these:
Notice: Undefined index: custom_fields in /Sources/Memberlist.php on line 583
Warning: Invalid argument supplied for foreach() in /Sources/Memberlist.php on line 583
The memberlist is still displayed, though. Btw, I like the smileys. :eheh:
-
Bah, my fault.
Easy fix. Memberlist.php
foreach ($context['members'][$member]['custom_fields'] as $field)
$context['members'][$member]['mlist_cf'][$field['colname']] = $field['value'];
if (!empty($context['members'][$member]['custom_fields']))
foreach ($context['members'][$member]['custom_fields'] as $field)
$context['members'][$member]['mlist_cf'][$field['colname']] = $field['value'];
I've fixed it locally but am in the middle of nasty rewrite of quick moderation so won't be committing for a bit.
-
Should be fixed here too now.
Smileys -> they're Wedge.org specific. i.e. the smileys in Wedge are also in SMF 2. I have no qualms with releasing the smiley set as it is, but it won't be part of Wedge because I'm not sure I can claim ownership of it, even though I made many of them myself. (The rest is taken from the official PunBB smileys, or variations on it released on a fan forum.)
-
Thanks for fixing it, it works fine again. :)
I have no qualms with releasing the smiley set as it is
That'd be great. ;D
-
The fix is also in trunk now, so moving to fixed.