Skip to content

Commit

Permalink
[FIX] SiteContent namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Korneliuk authored and Seiger committed Oct 21, 2022
1 parent 288b323 commit 30a0552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/resourceSettingsTab.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
@php($content['parent'] = 0)
@endif
@if($parentlookup !== false && is_numeric($parentlookup))
@php($parentname = SiteContent::withTrashed()->select('pagetitle')->find($parentlookup)->pagetitle)
@php($parentname = \EvolutionCMS\Models\SiteContent::withTrashed()->select('pagetitle')->find($parentlookup)->pagetitle)
@if(!$parentname)
@php(evo()->webAlertAndQuit($_lang["error_no_parent"]))
@endif
Expand Down

0 comments on commit 30a0552

Please sign in to comment.