[Zope-Checkins] CVS: Zope/lib/python/App/dtml - davLockManager.dtml:1.4
Chris Withers
chrisw@nipltd.com
Thu, 31 Oct 2002 08:51:22 -0500
Update of /cvs-repository/Zope/lib/python/App/dtml
In directory cvs.zope.org:/tmp/cvs-serv10309/lib/python/App/dtml
Modified Files:
davLockManager.dtml
Log Message:
Fix python that broke the Lock Manager view in the Control Panel.
Fixes #651
=== Zope/lib/python/App/dtml/davLockManager.dtml 1.3 => 1.4 ===
--- Zope/lib/python/App/dtml/davLockManager.dtml:1.3 Wed Oct 16 14:52:25 2002
+++ Zope/lib/python/App/dtml/davLockManager.dtml Thu Oct 31 08:50:52 2002
@@ -25,7 +25,8 @@
//-->
</script>
-<dtml-let lockedobjs="REQUEST.form.has_key('frompath','') and findLockedObjects(frompath=REQUEST.get('frompath','')) or []">
+<dtml-let from_path="REQUEST.form.get('frompath',None)"
+ lockedobjs="from_path and findLockedObjects(frompath=from_path) or []">
<dtml-if lockedobjs>
<p class="std-text">All locked objects