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

Signature edit in acp gives error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.2.3-RC1
    • 3.2.2
    • ACP

      Reported on german support board:

      When editing user's signature in acp, preview throws debug messages:

      phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268) 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268) 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)

      Suggested change in includes/acp/acp_users.php around line 2100:

      find

                      if ($request->is_set_post('preview'))
                      {
                          $decoded_message = generate_text_for_edit($signature, $bbcode_uid, $bbcode_bitfield);
                      }
       
       

      replace with

                      if ($request->is_set_post('preview'))
                      {
                          $decoded_message = generate_text_for_edit($signature, $bbcode_uid, $bbcode_flags);
                      }
       
       

      (Wrong field used for bbcode_flags)

            Marc Marc
            canonknipser Frank Jakobs [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: