--- MPIWGWeb/MPIWGStaff.py 2008/08/22 06:09:28 1.10.2.45
+++ MPIWGWeb/MPIWGStaff.py 2008/08/25 11:30:09 1.10.2.47
@@ -362,6 +362,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend
return pt()
mainEditFile=PageTemplateFile(os.path.join(package_home(globals()),'zpt','editMPIWGStaff_main.zpt'))
+ addPublicationsBib=PageTemplateFile(os.path.join(package_home(globals()),'zpt','addPublicationsBib.zpt'))
def getPathStyle(self, path, selected, style=""):
"""returns a string with the given style + 'sel' if path == selected."""
@@ -515,7 +516,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend
ret+=found.interest+"
"
- if not person.current_work=="":
+ if (person.current_work) and (not person.current_work==""):
ret="Current work:
"
ret+=person.current_work+"
"