#1655: Manual 1.0 error
-----------------------------------+----------------------------------------
 Reporter:  wtfzdotnet             |       Owner:  jwage  
     Type:  defect                 |      Status:  new    
 Priority:  minor                  |   Milestone:  Unknown
Component:  Documentation          |     Version:  1.0.3  
 Keywords:                         |    Has_test:  0      
 Mystatus:  Pending Core Response  |   Has_patch:  0      
-----------------------------------+----------------------------------------
 About: Listing .208

 It reads :

 <?php

 $deleted = Doctrine_Query::create()
            ->delete()
            ->from('Phonenumber')
            ->addWhere('user_id = ?', array($userId))
            ->whereIn('id', $phonenumberIds);
            ->execute();
 // print out the number of deleted phonenumbers
 print $deleted;

 ?>

 but should be

 <?php

 $deleted = Doctrine_Query::create()
            ->delete()
            ->from('Phonenumber')
            ->addWhere('user_id = ?', array($userId))
            ->whereIn('id', $phonenumberIds)
            ->execute();
 // print out the number of deleted phonenumbers
 print $deleted;

 ?>


 An semicolon to much :)

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1655>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" 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.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to