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

truncate_string not working correctly when replying

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.7
    • 3.0.6
    • Other
    • None
    • PHP Environment:
      Database:

      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...

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

              Created:
              Updated:
              Resolved: