]> lifelog.hopto.org Git - LifeLog.git/commitdiff
is_rtf was not working.
authorMetabox <redacted>
Sat, 3 Aug 2019 18:40:39 +0000 (04:40 +1000)
committerMetabox <redacted>
Sat, 3 Aug 2019 18:40:39 +0000 (04:40 +1000)
htdocs/cgi-bin/main.cgi

index e6a5e17cb00a05bfd10a799699bcf13d10a1264c..9582fa6af0b5aae5e05736164bf8ff463ae42ee3 100755 (executable)
@@ -773,7 +773,8 @@ sub processSubmit {
       my $view_all  = $cgi->param('rs_all');
       my $is_rtf    = $cgi->param('rtf');
       my $rtf = 0;
-         $rtf = 1 if $is_rtf=="on";
+         $rtf = 1 if $is_rtf eq 'on';
+       
 
       try {
 #Apostroph's need to be replaced with doubles  and white space fixed for the SQL.