$this->Position->find('all',array('conditions' => 'position_id = '.
$id,'fields'=>'position,position_id') this working fine...
9 SELECT `Position`.`position`, `Position`.`position_id` FROM
`mgt_positions` AS `Position` WHERE position_id = 3
fucking stupid bug
On 14 Sie, 02:18, "[email protected]"
<[email protected]> wrote:
> fk find(){
> echo $id; //3
> debug($this->Position->find('all',array('conditions'
> => array
> ('position_id'=>$id),'fields'=>'position,position_id')));
>
> }
>
> at page
> miopromo\controllers\signups_controller.php (line 70)
>
> Array
> (
> [0] => Array
> (
> [Position] => Array
> (
> [position] => Wlasciciel/Wspolwlasciciel
> [position_id] => 1
> )
>
> )
>
> 9 SELECT `Position`.`position`, `Position`.`position_id` FROM
> `mgt_positions` AS `Position` WHERE `position_id` = 1
>
> WTF ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---