[wp-trac] Re: [WordPress Trac] #2913: Cannot use a scalar value as an array ver 2.1

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 5 22:13:05 GMT 2006


#2913: Cannot use a scalar value as an array  ver 2.1
---------------------+------------------------------------------------------
 Reporter:  dpace    |        Owner:  anonymous
     Type:  defect   |       Status:  reopened 
 Priority:  normal   |    Milestone:           
Component:  General  |      Version:  2.1      
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by darkfate):

  * resolution:  invalid =>
  * status:  closed => reopened

Comment:

 I don't see a problem within the code either:

 {{{
 $this->last_result[$num_rows] = $row;
 }}}

 ...unless it should be

 {{{
 $this->last_result->$num_rows = $row;
 }}}

 I don't think that is valid code though :p

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2913>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list