dever 7 years ago
parent
commit
b4bce2a68c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      admin/page/site.py

+ 4 - 0
admin/page/site.py

@@ -53,6 +53,10 @@ class site_update_path(Load):
 		id = self.input('id')
 		if not id:
 			self.getAppId()
+		else:
+			info = self.service('common').one('site', id=id)
+			if not info['appid']:
+				self.getAppId()
 		self.update('site')
 	@Web.auth
 	@Web.setting