Author: sevein
Date: Fri Nov 27 18:49:53 2009
New Revision: 3979

Log:
Ooops, I commited this unintentionally.

Modified:
   trunk/apps/qubit/modules/informationobject/actions/showIsadAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/showIsadAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/showIsadAction.class.php 
Fri Nov 27 17:34:10 2009        (r3978)
+++ trunk/apps/qubit/modules/informationobject/actions/showIsadAction.class.php 
Fri Nov 27 18:49:53 2009        (r3979)
@@ -37,7 +37,7 @@
     $validatorSchema->dates = new QubitValidatorCountable(array('required' => 
true), array('required' => $this->context->i18n->__('This archival description 
should %1%content at least one date%2%.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#3.1.3";>', '%2%' => 
'</a>'))));
     $validatorSchema->extentAndMedium = new sfValidatorString(array('required' 
=> true), array('required' => $this->context->i18n->__('%1%Extent and medium%2% 
- This is a mandatory field.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#I";>', '%2%' => '</a>'))));
     $validatorSchema->identifier = new sfValidatorString(array('required' => 
true), array('required' => $this->context->i18n->__('%1%Identifier%2% - This is 
a mandatory field.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#I";>', '%2%' => '</a>'))));
-    $validatorSchema->levelOfDescription = new 
QubitValidatorLevelOfDescription(array('required' => true), array('required' => 
$this->context->i18n->__('%1%Level of description%2% - This is a mandatory 
field.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#I";>', '%2%' => '</a>'))));
+    $validatorSchema->levelOfDescription = new 
sfValidatorString(array('required' => true), array('required' => 
$this->context->i18n->__('%1%Level of description%2% - This is a mandatory 
field.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#I";>', '%2%' => '</a>'))));
     $validatorSchema->title = new sfValidatorString(array('required' => true), 
array('required' => $this->context->i18n->__('This archival description is 
untitled. A title is %1%considered essential%2% for international exchange of 
descriptive information.', array('%1%' => '<a 
href="http://ica-atom.org/docs/index.php?title=RS-1#I";>', '%2%' => '</a>'))));
 
     try
@@ -47,7 +47,7 @@
         'dates' => $this->informationObject->getDates(),
         'extentAndMedium' => $this->informationObject->extentAndMedium,
         'identifier' => $this->informationObject->identifier,
-        'levelOfDescription' => $this->informationObject,
+        'levelOfDescription' => $this->informationObject->levelOfDescription,
         'title' => $this->informationObject->title));
     }
     catch (sfValidatorErrorSchema $e)

--

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.


Reply via email to