Commit 0a731278 authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup 7af5c38c

parent 412533d9
...@@ -53,7 +53,10 @@ ...@@ -53,7 +53,10 @@
<value> <string>from Products.ZSQLCatalog.SQLCatalog import NegatedQuery, Query\n <value> <string>from Products.ZSQLCatalog.SQLCatalog import NegatedQuery, Query\n
\n \n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
person_reference = portal.restrictedTraverse(\'person_module/20120411-A56ED\').getReference()\n person = portal.restrictedTraverse(\'person_module/20120411-A56ED\', None)\n
if person is None:\n
return\n
person_reference = person.getReference()\n
\n \n
setup_service = portal.restrictedTraverse(portal.portal_preferences.getPreferredInstanceSetupResource())\n setup_service = portal.restrictedTraverse(portal.portal_preferences.getPreferredInstanceSetupResource())\n
\n \n
......
705 706
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment