summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsun2010-04-07 21:18:43 (GMT)
committer sun2010-04-07 21:18:43 (GMT)
commitfddd5232caea295959fc55d91f2b7683c02c64e2 (patch)
treeea8a405db90e40ed49aa1d7f6b385a327310c3ea
parent81c468dce6b5e4199dee6b061a439c90f171a0b9 (diff)
#752516 by nquocbao, sun: Fixed openwysiwyg version callback.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--editors/openwysiwyg.inc3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index ff6b955..5747a7f 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-2.x, xxxx-xx-xx
---------------------------
+#752516 by nquocbao, sun: Fixed openwysiwyg version callback.
#753536 by TwoD: Fixed version detection for Whizzywig.
#752516 by nquocbao, sun: Fixed file stream warnings in version callbacks.
diff --git a/editors/openwysiwyg.inc b/editors/openwysiwyg.inc
index 7f77baa..fa521c4 100644
--- a/editors/openwysiwyg.inc
+++ b/editors/openwysiwyg.inc
@@ -45,7 +45,8 @@ function wysiwyg_openwysiwyg_editor() {
* The installed editor version.
*/
function wysiwyg_openwysiwyg_version($editor) {
- $changelog = $editor['library path'] . '/changelog';
+ // 'library path' has '/scripts' appended already.
+ $changelog = $editor['editor path'] . '/changelog';
if (!file_exists($changelog)) {
return;
}