fix inability to unset title
This commit is contained in:
parent
f12e4e11b0
commit
fc34d4d4c3
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class AccountController extends Controller
|
|||
|
||||
$title = $_POST['title'] ?? null;
|
||||
|
||||
if ($title) {
|
||||
if ($title !== null) {
|
||||
if (strlen($title) > 64) {
|
||||
return $this->json(
|
||||
['error' => 'This title is too long!']
|
||||
|
|
Reference in a new issue