svn: /web/doc-editor/trunk/php/ ExtJsController.php

From: Date: Sat, 21 Nov 2009 12:04:31 +0000
Subject: svn: /web/doc-editor/trunk/php/ ExtJsController.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1220@lists.php.net to get a copy of this message
yannick Sat, 21 Nov 2009 12:04:31 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291112 Log: Fix bug in display modified file Changed paths: U web/doc-editor/trunk/php/ExtJsController.php Modified: web/doc-editor/trunk/php/ExtJsController.php =================================================================== --- web/doc-editor/trunk/php/ExtJsController.php 2009-11-21 08:18:37 UTC (rev 291111) +++ web/doc-editor/trunk/php/ExtJsController.php 2009-11-21 12:04:31 UTC (rev 291112) @@ -327,6 +327,9 @@ ? $this->getRequestVariable('readOriginal') : false; + // ExtJs pass false as a string ; fix it + if( $readOriginal == "false" ) $readOriginal = false; + $t = explode('/', $FilePath); $FileLang = array_shift($t); $FilePath = implode('/', $t);

« previous php.doc.web (#1220) next »