Author: david
Date: Mon Apr 23 11:19:54 2012
New Revision: 11502
Log:
Squelch notice about $count
Modified:
trunk/apps/qubit/modules/search/templates/_searchFields.php
Modified: trunk/apps/qubit/modules/search/templates/_searchFields.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/_searchFields.php Mon Apr 23
11:12:10 2012 (r11501)
+++ trunk/apps/qubit/modules/search/templates/_searchFields.php Mon Apr 23
11:19:54 2012 (r11502)
@@ -1,8 +1,9 @@
+<?php $count = 0 ?>
<?php if (isset($sf_request->searchFields)): ?>
<?php foreach ($sf_request->searchFields as $key => $item): ?>
<?php if (empty($item['query'])) continue ?>
- <?php @$count++ ?>
+ <?php $count++ ?>
<tr>
<td>
<select name="searchFields[<?php echo $key ?>][operator]">
@@ -33,11 +34,6 @@
</td>
</tr>
<?php endforeach; ?>
-
-<?php else: ?>
-
- <?php $count = 0 ?>
-
<?php endif; ?>
<tr>
--
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.