#6359: bake wrong current path on php4
--------------------------+-------------------------------------------------
    Reporter:  hanari     |          Type:  Bug    
      Status:  new        |      Priority:  Medium 
   Milestone:  1.2.x.x    |     Component:  General
     Version:  1.2 Final  |      Severity:  Normal 
    Keywords:  bake       |   Php_version:  n/a    
Cake_version:             |  
--------------------------+-------------------------------------------------
 execute 'cake bake' on php4

 current path is not affect.
 [[br]][[br]]
 I tryed following patch.

 {{{
 --- basics.php.orig     2008-12-19 11:16:01.000000000 +0900
 +++ basics.php  2009-05-11 13:42:18.000000000 +0900
 @@ -830,7 +830,7 @@
                 function array_intersect_key($arr1, $arr2) {
                         $res = array();
                         foreach ($arr1 as $key => $value) {
 -                               if (isset($arr2[$key])) {
 +                               if (array_key_exists($key, $arr2)) {
                                         $res[$key] = $arr1[$key];
                                 }
                         }
 }}}

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6359>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP

Reply via email to