Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9020

truncate_string not working correctly when replying

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.6
    • 3.0.7
    • Other
    • None
    • PHP Environment:
      Database:

    Description

      Data too long for column 'post_subject' at row 1 [1406]

      Text length it tried to allow: 259:

      Re: &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

      Was using this:

      $subject = truncate_string($subject, 254);

      EDIT: Seems to work properly on submitting a topic, but if you reply to a topic it seems not to work...

      Attachments

        Activity

          People

            A_Jelly_Doughnut A_Jelly_Doughnut
            EXreaction EXreaction [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: