This commit is contained in:
Bence Pőcze 2023-05-07 01:17:45 +02:00
parent 45c4206686
commit f73d50cc30
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@ abstract class ModelWithSlug extends Model
{
if ($this->slug === null) {
$this->slug = $this->generateSlug();
var_dump('getSlug called');
var_dump($this->slug);
}
return $this->slug;

View File

@ -97,6 +97,7 @@ class PersistentDataManager implements IPersistentDataManager
$this->syncRelations($model);
$modified = $model->toArray();
var_dump($modified);
$id = $model->getId();
$modify = new Modify($this->dbConnection, $model::getTable(), $this->auditLogger);