com web/doc-editor: fix encoding: index.php
| From: | Yannick Torres | Date: | Wed, 30 Jul 2014 21:36:36 +0000 |
| Subject: | com web/doc-editor: fix encoding: index.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12682@lists.php.net to get a copy of this message | ||
Commit: 6a8fb8ee51f3833880452894fbc9307740c68f6f
Author: Yannick Torrès <yannick.torres@gmail.com> Wed, 30 Jul 2014 23:36:36 +0200
Parents: 664a19ead39f07e8f6a344711df30c4c7e85b3e4
Branches: master
Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=6a8fb8ee51f3833880452894fbc9307740c68f6f
Log:
fix encoding
Changed paths:
M index.php
Diff:
diff --git a/index.php b/index.php
index e86a2b4..5d9398d 100755
--- a/index.php
+++ b/index.php
@@ -94,7 +94,7 @@ if (isset($_REQUEST['perm'])) {
// Init auth var
if( isset($_COOKIE['loginApp']) ) {
- $jsVar .= " loginApp =
\"".utf8_decode(html_entity_decode($_COOKIE['loginApp']))."\",";
+ $jsVar .= " loginApp =
\"".html_entity_decode($_COOKIE['loginApp'])."\",";
} else {
$jsVar .= " loginApp = false,";
}