From 3f2bc3ab82f12463bb13a755b12295dff35feecd Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 6 Jul 2006 13:04:21 +0000 Subject: [PATCH] Adding fix for PHP 5.2 errors. The View::__construct() had a check for $controller != null; Removing this fixed the errors related to not setting the vars from the controller instance. Removed $this->parent =& $this->controller->parent; and $this->displayFields=&$this->controller->displayFields; which are not defined in the core Controller git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3204 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/view.php | Bin 19792 -> 19611 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index 336538f390008031f32e5f4e58aba832b065afff..7814c684558da87adaa4ee133f08efba3453887e 100644 GIT binary patch delta 546 zcmcaGi*fc$#tqZ?Y*b1zGK+QXlJoOQit=-EQi~K66l~QLR1gBzT%4RxRqRyvK>E{7}S`=(vp0i#LE2A61X%ELd=?L zawESuBiQuGYxwzKx{?x$Q^5uz3}pj}0oA{SsaGsdO)ARIFF|rkMruw$D#XQ5w}?&- z5a5KFnvq(BW~wwyDhK97goPXsF`$(P1z=8mBLH_|USckqVZv-6F`#-~L74goL0*^* zpx_KhEXe?S3ldITFfpK>i*P-E1mS^~l30?691MX%BC<7NzEuSXsr#1EadQq^LBxL_-s3N-e`?CSgA-03Vy4ZvX%Q delta 684 zcmZuvOG*Pl5GA`Li}Z9bMu?w|gh3Yp*T!Ta=t^Bka4VfmnKX1}hVGe!Af6$MUWj@C zK@bEl;t6sGFCcc$#Q8{SS@r6@dR6uERQP%>d^}c8*&R7(4Lvsy9_JuPvrF8N^Fwl9 zF6n3mVd?g{-Xtbr#z?fszKQWf+6V(IczY5s>TWe{;toYwX8}$os-F-e0YZJ(o^$5=$%Nz^5bVvw%kk?Eqnt z4(C$=?#i99hj6WEGLcdn8>KV6m&4P^%IFHO7Py!K92(Gg5AnX