fix: authors serialization issue

pull/9434/head
Luciano Righetti 2023-12-07 11:18:03 +01:00
parent bdbb6991f5
commit bf9ee1a0ca
1 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@ namespace App\Model\Table;
use App\Http\Exception\HttpSocketHttpException;
use App\Lib\Tools\BackgroundJobsTool;
use App\Lib\Tools\JsonTool;
use App\Lib\Tools\ServerSyncTool;
use App\Lib\Tools\SyncTool;
use App\Lib\Tools\TmpFileTool;
@ -178,11 +177,6 @@ class GalaxyClustersTable extends AppTable
if (!isset($data['published'])) {
$data['published'] = false;
}
if (!isset($data['authors'])) {
$data['authors'] = '';
} elseif (is_array($data['authors'])) {
$data['authors'] = JsonTool::encode($data['authors']);
}
}
// afterFind()