Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9571

Preview does not take user-options into account when viewing the signature.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • 3.0.7-PL1
    • Posting
    • None

      If a user who set Display signatures to no in his UCP, is ignored when previewing a post

      Proposed patch :
      File : posting.php
      Find :

      	if ($post_data['enable_sig'] && $config['allow_sig'] && $preview_signature && $auth->acl_get('f_sigs', $forum_id))

      Replace with :

      	if ($post_data['enable_sig'] && $config['allow_sig'] && $preview_signature && $auth->acl_get('f_sigs', $forum_id) && $user->optionget('viewsigs'))

            nickvergessen Joas Schilling
            leviatan21 leviatan21 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: