Skip to content

Commit

Permalink
check params too
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Apr 18, 2019
1 parent 25ac433 commit 406da01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Table/Module.php
Expand Up @@ -124,7 +124,7 @@ public function check()
}

// Prevent to save too large content > 65535
if (strlen($this->content) > 65535)
if ((strlen($this->content) > 65535) || (strlen($this->params) > 65535))
{
$this->setError(\JText::_('COM_MODULES_FIELD_CONTENT_TOO_LARGE'));

Expand Down

0 comments on commit 406da01

Please sign in to comment.