logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[TEP-COMMIT] [CVS catalog] fix a banner showing bug: msg#00010

Subject: [TEP-COMMIT] [CVS catalog] fix a banner showing bug
Commit in catalog/catalog/includes on MAIN
footer.php+1-11.29 -> 1.30
functions/banner.php+1-11.13 -> 1.14
+2-2
2 modified files
fix a banner showing bug

catalog/catalog/includes
footer.php 1.29 -> 1.30
diff -u -r1.29 -r1.30
--- footer.php	2004/04/13 08:08:41	1.29
+++ footer.php	2004/11/24 15:55:04	1.30
@@ -48,7 +48,7 @@
 <br>
 <table border="0" width="100%" cellspacing="0" cellpadding="0">
   <tr>
-    <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
+    <td align="center"><?php echo tep_display_banner('dynamic', '468x50'); ?></td>
   </tr>
 </table>
 <?php

catalog/catalog/includes/functions
banner.php 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- banner.php	2004/02/16 07:23:17	1.13
+++ banner.php	2004/11/24 15:55:05	1.14
@@ -92,7 +92,7 @@
         $Qbanner = $osC_Database->query('select banners_id, banners_title, banners_image, banners_html_text from :table_banners where banners_group = :banners_group and status = 1');
         $Qbanner->bindRaw(':table_banners', TABLE_BANNERS);
         $Qbanner->bindValue(':banners_group', $identifier);
-        $Qbanner->executeRandomSingle();
+        $Qbanner->executeRandom();
       }
 
       $Qbannercheck->freeResult();
CVSspam 0.2.9
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
<Prev in Thread] Current Thread [Next in Thread>