Categories
CMS Magento Mastering Development

str_replace strange behavior

In my codebase I have a line of code, which is triggered through a cron const SALE_ORDER_NR = ”; $text = str_replace(self::SALE_ORDER_NR, $order, $text); I am using Magento 1.9; Here, $order is of type : Sales_Model_Order $text is not having any substring as , instead it is : Refund of Rs.150.00 for your order 145004617 […]