This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository fateserver.

commit e80bc91b15c0fba15fde853cd9861941857b265d
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Thu Jul 30 01:07:13 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Aug 10 20:27:03 2026 +0200

    index: only offer a warning diff when a previous report exists
    
    Otherwise clicking on it errors out.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 index.cgi | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/index.cgi b/index.cgi
index 04b6cbd..8e21700 100755
--- a/index.cgi
+++ b/index.cgi
@@ -308,11 +308,13 @@ for my $rep (sort repcmp @reps) {
     anchor $$rep{nwarn},
         href => href slot => $$rep{slot}, time => $$rep{date}, log => 
'compile';
     end;
-    start 'div', class => 'pull-right';
-    anchor '±',
-        href => href slot => $$rep{slot}, time => $$rep{date},
-        log => "compile/$$rep{pdate}";
-    end;
+    if (defined $$rep{pdate}) {
+        start 'div', class => 'pull-right';
+        anchor '±',
+            href => href slot => $$rep{slot}, time => $$rep{date},
+            log => "compile/$$rep{pdate}";
+        end;
+    }
     end;
     start 'td', class => "$rclass";
     start 'div', class => 'pull-left';

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to