mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Don't check max string length for ebook description
This commit is contained in:
parent
13eb02842a
commit
87620287f1
1 changed files with 0 additions and 4 deletions
|
@ -1441,10 +1441,6 @@ final class Ebook{
|
|||
$this->Description = null;
|
||||
}
|
||||
|
||||
if(isset($this->Description) && strlen($this->Description) > EBOOKS_MAX_STRING_LENGTH){
|
||||
$error->Add(new Exceptions\StringTooLongException('Ebook Description'));
|
||||
}
|
||||
|
||||
$this->LongDescription = trim($this->LongDescription ?? '');
|
||||
if($this->LongDescription == ''){
|
||||
$this->LongDescription = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue