Changes for page XWiki Users
Last modified by bougault on 2022/12/20 15:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,7 +9,8 @@ 9 9 #set($modif = 0) 10 10 #set($userDoc = $xwiki.getDocument($userId)) 11 11 #set($obj = $userDoc.getObject("XWiki.XWikiUsers")) 12 - #if($obj.get("email") != "") 12 + #set($email = $obj.get("email")) 13 + #if($email && $email != "") 13 13 change email 14 14 #set($modif = 1) 15 15 $obj.set("email", "")