forked from indymedia/epicyon
Check that admin is defined in config
parent
0154c77b54
commit
81fcf117b7
|
@ -1543,6 +1543,7 @@ def htmlEditProfile(translate: {}, baseDir: str, path: str,
|
|||
moderatorsStr = ''
|
||||
themesDropdown = ''
|
||||
adminNickname = getConfigParam(baseDir, 'admin')
|
||||
if adminNickname:
|
||||
if path.startswith('/users/' + adminNickname + '/'):
|
||||
instanceDescription = \
|
||||
getConfigParam(baseDir, 'instanceDescription')
|
||||
|
|
Loading…
Reference in New Issue