SMF Development > Bug Reports

[2.0] Error if a member have pm labels with high ids (>60)

(1/1)

digger:
If a member have pm labels with id>60 and try to assign that label to any message it shows labels_too_many error.

There is a code in PersonalMessage.php file


--- Code: --- // Check that this string isn't going to be too large for the database.
if ($set > 60)
$updateErrors++;
--- End code ---
I think, here should be something like this


--- Code: --- // Check that this string isn't going to be too large for the database.
if ($smcFunc['strlen']($set) > 60)
$updateErrors++;
--- End code ---

digger:
Is it fixed in 2.0.16?

Arantor:
Doubtful. It was a fairly large rewrite to fix in 2.1.

live627:
I'm testing this fix now.

Navigation

[0] Message Index

Go to full version