aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/notification/type/post.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index 826be0c992..bb5f3dfc5e 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -433,9 +433,8 @@ class post extends \phpbb\notification\type\base
$serialized_data = serialize($this->get_data(false));
- // If the data is longer then 4000 characters, it would cause a SQL error
- // so we just don't add the username to the list, when this would be the
- // case.
+ // If the data is longer then 4000 characters, it would cause a SQL error.
+ // We don't add the username to the list if this is the case.
if (utf8_strlen($serialized_data) >= 4000)
{
return array();