From 898227264533569f12cfb0c6693ef0ded35e345e Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Thu, 7 Jul 2011 15:52:35 +0530 Subject: [PATCH] profile settings fix --- patches/patch.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patches/patch.py b/patches/patch.py index 446bdfffbc..fb66a47e6c 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 316 +last_patch = 317 #------------------------------------------- @@ -1272,4 +1272,7 @@ def execute(patch_no): m.parentfield = 'roles' m.save(1) elif patch_no == 316: - sql("update `tabPage` set name = 'page-settings' where page_name = 'Profile Settings'") + pass + elif patch_no == 317: + sql("update `tabPage` set name = 'profile-settings' where page_name = 'Profile Settings'") +