Author: sevein
Date: Fri Oct 7 10:19:57 2011
New Revision: 9961
Log:
Fix add/edit detection
Modified:
trunk/apps/qubit/modules/user/templates/editSuccess.php
Modified: trunk/apps/qubit/modules/user/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/editSuccess.php Fri Oct 7
09:55:06 2011 (r9960)
+++ trunk/apps/qubit/modules/user/templates/editSuccess.php Fri Oct 7
10:19:57 2011 (r9961)
@@ -42,7 +42,7 @@
<div class="form-item password-parent">
- <?php if (isset($sf_request->id)): ?>
+ <?php if (isset($sf_request->getAttribute('sf_route')->resource)): ?>
<?php echo $form->password
->label(__('Change password'))
->renderLabel() ?>
--
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.