Cakephp find not returning the complete string -


i have model budgetsproduct associated model product, it's returning product data cutting first character on fields id , title, how can see above.

notice budgetsproduct.product_id 7724 , returning correct associated product row, trimming first character product.id returning 724.

'budgetsproduct' => array(         (int) 0 => array(             'id' => '3',             'budget_id' => '2',             'product_id' => '7724',             'quant' => '3.00',             'price' => '3175.00',             'discount' => '0.00',             'discount_type' => '%',             'product_options' => 'null',             'active' => '1',             'creator' => null,             'created' => '2014-08-27 15:52:35',             'modifier' => null,             'modified' => '2014-08-27 15:52:35',             'product' => array(                 'id' => '724',                 'title' => 'onjunto pina (03)',                 'opt_title' => null,                 'parent_id' => null,                 'stock' => false,                 'active' => '',                 'creator' => null,                 'created' => '013-12-11 10:53:30',                 'modifier' => null,                 'modified' => '014-04-09 15:44:24'             )         ) 


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -