Author: david
Date: Mon Oct 10 19:26:07 2011
New Revision: 10010
Log:
Substitute 'None' if access_conditions is null
Modified:
trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php
Mon Oct 10 19:24:08 2011 (r10009)
+++ trunk/apps/qubit/modules/informationobject/templates/fileListSuccess.php
Mon Oct 10 19:26:07 2011 (r10010)
@@ -20,7 +20,7 @@
<tr>
<td><?php echo $item['title'] ?></td>
<td><?php echo $item['dates'] ?></td>
- <td><?php echo $item['accessConditions'] ?></td>
+ <td><?php echo isset($item['accessConditions']) ?
$item['accessConditions'] : __('None') ?></td>
<td><?php echo $item['locations'] ?></td>
</tr>
<?php endforeach; ?>
--
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.