title: Magento - iOS request service magento PHP Error
body: <p>I have a service written by PHP interact with Magento system.
  In PHP service, I make a function update price of a product. I request this url via GET method. Problem is I request this url in Android work ok, but iOS I got an error bellow:</p>
  
  <pre><code>string(391) "SQL ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 5303)' at line 1 SQL QUERY: SELECT `customerprices_prices`.* FROM `customerprices_prices` WHERE (product_id =  AND customer_id = 5303)
  </code></pre>
  
  <p>And here is PHP code:</p>
  
  <pre><code>Mage::app()-&gt;setCurrentStore(STORE_ILATIANO);
  $_product = Mage::getModel('catalog/product')-&gt;load($ipd);
  $_product-&gt;setPrezzoconsgrossisti($wholesaler);
  $_product-&gt;save(); &lt;-- error when request in iOS(I am use AFNetworking library, Android work ok)
  </code></pre>
  
  <p>Any suggest this problem? I don't understand this problem occur in side iOS or Magento system.</p>