Support Forum

Smileys error

SS SamThaB0ss
SamThaB0ss
Member

file: /simple-press/forum/content/forms/sp-form-components.php
line: 469
function: sp_post_editor_smileys_options
Notice | Trying to get property of non-object

 

line 469:

if (sp_get_auth(‘can_use_smileys’, $spThisForum->forum_id)) $display[‘smileys’] = true;

 

im not sure whats wrong?

1 Answer

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

That is the one that was incorrectly using the $spThisForum->forum_id when it should have been using $spThisTopic->forum_id. Silly mistake. And it is fixed up already on what will be 5.3.2.