This commit is contained in:
Bence Pőcze 2023-05-07 01:17:45 +02:00
parent 45c4206686
commit 943ad56d01
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

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