|
From: <gem...@li...> - 2012-09-27 11:14:31
|
Revision: 964
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=964&view=rev
Author: matijsdejong
Date: 2012-09-27 11:14:25 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Fix where standalone surveys where saved with the gtr_track_type "'" instead of "S".
Modified Paths:
--------------
trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
Modified: trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
===================================================================
--- trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2012-09-27 08:41:00 UTC (rev 963)
+++ trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2012-09-27 11:14:25 UTC (rev 964)
@@ -192,10 +192,11 @@
// These fields are needed only when the stand alone survey is being created.
$bridge->addHiddenMulti('gro_id_order', 'gro_id_track',
'gro_id_survey', 'gro_survey_name', 'gro_round_description',
- 'gtr_track_name', 'gtr_survey_rounds', 'gtr_track_type');
+ 'gtr_track_name', 'gtr_survey_rounds');
}
$bridge->addHidden('create_stand_alone');
+ $bridge->addHidden('gtr_track_type'); // Always store, otherwise join expression is used as value. :(
$bridge->addText( 'gtr_track_info', 'label', $this->_('Description'));
$bridge->addDate( 'gtr_date_start', 'label', $this->_('Assignable since'));
$bridge->addDate( 'gtr_date_until', 'label', $this->_('Assignable until'));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|