fix: error in DynamicPageHelper when new value is null #92
This commit is contained in:
parent
c82f44c750
commit
a4ab7adeab
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class DynamicPageHelper
|
|||
? ''
|
||||
: data_get($newContent, $key, '');
|
||||
if ($old) {
|
||||
FileHelper::removeOldModelFilesFromHtml($new, $old);
|
||||
FileHelper::removeOldModelFilesFromHtml($new ?? '', $old);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue