本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
[fix] sync portal_settings
version-14
Rushabh Mehta
8 年之前
父節點
50d6049f54
當前提交
fc5308d5c3
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/website/doctype/portal_settings/portal_settings.py
+ 1
- 1
frappe/website/doctype/portal_settings/portal_settings.py
查看文件
@@ -14,7 +14,7 @@ class PortalSettings(Document):
if exists[0].role != item.get('role'):
exists[0].role = item.get('role')
return True
el
se
:
el
if not exists
:
item['enabled'] = 1
self.append('menu', item)
return True
Write
Preview
Loading…
取消
儲存