fix export of substitutes

This commit is contained in:
Uwe Steinmann 2015-08-06 18:26:47 +02:00
parent c8d7bdca8b
commit cca8221f28

View File

@ -502,7 +502,7 @@ if($users) {
if($substitutes = $user->getSubstitutes()) {
echo " <substitutes>\n";
foreach($substitutes as $substitute) {
echo " <substitute user=\"".$substitute['substitute']."\" />\n";
echo " <substitute user=\"".$substitute->getID()."\" />\n";
}
echo " </substitutes>\n";
}