Author: jablko
Date: Thu Oct 14 15:39:49 2010
New Revision: 8130
Log:
Initialize $isaar only once
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/actions/editAction.class.php
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/actions/editAction.class.php
==============================================================================
---
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/actions/editAction.class.php
Thu Oct 14 15:12:49 2010 (r8129)
+++
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/actions/editAction.class.php
Thu Oct 14 15:39:49 2010 (r8130)
@@ -67,10 +67,15 @@
'sources',
'standardizedName');
- protected function addField($name)
+ protected function earlyExecute()
{
+ parent::earlyExecute();
+
$this->isaar = new sfIsaarPlugin($this->resource);
+ }
+ protected function addField($name)
+ {
switch ($name)
{
case 'maintenanceNotes':
--
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.