Author: david
Date: Thu Sep 24 13:07:45 2009
New Revision: 3501
Log:
Fix call to QubitObject:getnNotesByType() method.
Modified:
trunk/apps/qubit/modules/term/templates/listTaxonomySuccess.php
Modified: trunk/apps/qubit/modules/term/templates/listTaxonomySuccess.php
==============================================================================
--- trunk/apps/qubit/modules/term/templates/listTaxonomySuccess.php Thu Sep
24 12:49:25 2009 (r3500)
+++ trunk/apps/qubit/modules/term/templates/listTaxonomySuccess.php Thu Sep
24 13:07:45 2009 (r3501)
@@ -34,7 +34,7 @@
<?php echo ($term->isProtected()) ? image_tag('lock_mini') : '' ?>
</td>
<td>
- <?php if ((count($scopeNotes = $term->getNotesByType($noteTypeId =
QubitTerm::SCOPE_NOTE_ID, $exclude = null))) > 0): ?>
+ <?php if (0 < count($scopeNotes =
$term->getNotesByType(array('noteTypeId' => QubitTerm::SCOPE_NOTE_ID)))): ?>
<ul>
<?php foreach ($scopeNotes as $scopeNote): ?>
<li><?php echo $scopeNote->getContent(array('cultureFallback' =>
'true')) ?></li>
--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---