Posted By

rahijain on 04/01/11


Tagged

php textmate letsbuy


Versions (?)

letsbuy logger


 / Published in: PHP
 

  1. $logger = SiteBase::getLogger("ProductManager");
  2. if ($db->ErrorNo() != 0) {
  3. $logger->warn("getPriceRangeByBrandId: error occured while getting product price range using sql query:".$getPriceRangeSql );
  4. return null;
  5. }
  6. if ($result->RecordCount() == 0) {
  7. $logger->warn("getPriceRangeByBrandId: no product price range found using sql query:".$getPriceRangeSql);
  8. return null;
  9. }

Report this snippet  

You need to login to post a comment.