Author: sevein
Date: Wed Aug 3 12:01:14 2011
New Revision: 9433
Log:
Like previous commit, stop processFrom before deleteRights are deleted when
copying an information object instead of editing/creating for same reasons
Modified:
trunk/apps/qubit/modules/right/actions/editComponent.class.php
Modified: trunk/apps/qubit/modules/right/actions/editComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/right/actions/editComponent.class.php Wed Aug
3 12:00:02 2011 (r9432)
+++ trunk/apps/qubit/modules/right/actions/editComponent.class.php Wed Aug
3 12:01:14 2011 (r9433)
@@ -160,6 +160,12 @@
}
}
+ // Stop here if duplicating
+ if (isset($this->request->sourceId))
+ {
+ return;
+ }
+
if (isset($this->request->deleteRights))
{
foreach ($this->request->deleteRights as $item)
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.