gnucash-htdocs master: Found a typo

Frank H.Ellenberger fell at code.gnucash.org
Thu Apr 12 16:22:12 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/3cb60be5 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/6bb5375f (commit)



commit 3cb60be5a3ecf2bb2a5c95ba5950d36d751b244d
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Thu Apr 12 22:22:06 2018 +0200

    Found a typo

diff --git a/viewdoc.phtml b/viewdoc.phtml
index a200bcd..76b6e21 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -109,7 +109,7 @@ if ($showrev == "maint") {
   if (!file_exists ($checkpath)) {
   	# Try Lang only codes
   	$showlang = substr($showlang,1,2);
-  	if ($showlang="en") $showlang="C";
+  	if ($showlang == "en") $showlang = "C";
     $checkpath="docs/v".$showrev."/".$showlang."/".$showdoc;
     if (!file_exists ($checkpath)) {
       $showlang    = "C";



Summary of changes:
 viewdoc.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list