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

From: Date: Mon, 19 Sep 2011 05:25:49 +0000
Subject: svn: /web/doc-editor/trunk/php/ ExtJsController.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2180@lists.php.net to get a copy of this message
yannick Mon, 19 Sep 2011 05:25:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316963 Log: When saving, check error against the original content, no against the modified content (e.g. .new) 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 2011-09-19 05:15:49 UTC (rev 316962) +++ web/doc-editor/trunk/php/ExtJsController.php 2011-09-19 05:25:49 UTC (rev 316963) @@ -865,7 +865,8 @@ // Get EN content to check error with $en_file = new File('en', $FilePath.$FileName); - $en_content = $en_file->read(); + $readOriginal = true; + $en_content = $en_file->read($readOriginal); // Update DB with this new Error (if any) $info = $file->getInfo($FileContent);

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