Author: sevein
Date: Thu Aug 16 16:47:48 2012
New Revision: 12124

Log:
Temporary workaround for issue 2415, the lack of some filteres being loaded was 
producing a fatal error so the deposit action was returning a 500 code.

Modified:
   
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php

Modified: 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
==============================================================================
--- 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
  Thu Aug 16 12:28:55 2012        (r12123)
+++ 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
  Thu Aug 16 16:47:48 2012        (r12124)
@@ -3,11 +3,11 @@
 <entry xmlns="http://www.w3.org/2005/Atom";
        xmlns:sword="http://purl.org/net/sword/";>
 
-  <title><?php echo render_title($informationObject) ?></title>
+  <title><?php echo render_title($informationObject, false) ?></title>
 
-  <id><?php echo $informationObject->id.' / ' . 
format_date($informationObject->createdAt, 's') ?></id>
-
-  <updated><?php echo format_date($informationObject->createdAt, 's') 
?></updated>
+  <?php // format_date($informationObject->updatedAt, 'f') - see issue 2415 ?>
+  <id><?php echo $informationObject->id.' / ' . 
$informationObject->updatedAt->format('c') ?></id>
+  <updated><?php echo $informationObject->updatedAt->format('c') ?></updated>
 
   <author>
     <name><?php echo $user->user ?></name>

-- 
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