fix error

This commit is contained in:
chiu 2021-09-01 19:56:12 +08:00
parent 17f67c0f01
commit e643af1885
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class SiteMenuWidgetsController < ApplicationController
subpart = OrbitHelper.get_current_widget
params = OrbitHelper.params
page = Page.where(:page_id => params[:page_id]).first
@page_id = page.id rescie nil
@page_id = page.id rescue nil
@expand_layer = false
@expand_next_layer = false
@expand_current_layer = false