You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2020/11/02 21:27:59 UTC

[allura] 08/15: [#8378] fix py3 None vs int compare error

This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit e442c9d2fc531b090842c6cb6841d39218f97a1e
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Thu Oct 8 17:35:25 2020 -0400

    [#8378] fix py3 None vs int compare error
---
 ForgeUserStats/forgeuserstats/templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeUserStats/forgeuserstats/templates/index.html b/ForgeUserStats/forgeuserstats/templates/index.html
index da61f23..6b1c0e2 100644
--- a/ForgeUserStats/forgeuserstats/templates/index.html
+++ b/ForgeUserStats/forgeuserstats/templates/index.html
@@ -326,7 +326,7 @@
         </tr>
         <tr>
           <td>
-            {% if tottickets.averagesolvingtime > 0 %}
+            {% if tottickets.averagesolvingtime %}
               <a href="{{c.project.url()}}userstats/tickets/">Average tickets solving time</a>
             {% else %}
               Average tickets solving time