Package: rtgui / 0.2.81-4

01-fix-for-undefined-variable-diff.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Description: Fix for outpu notice: Undefined variable: diff (Closes:#621725)
# Author: Dario Minnucci <midget@debian.org>
# Bug-Debian: http://bugs.debian.org/621725
# Forwarded: http://code.google.com/p/rtgui/issues/detail?id=113 
#
Index: rtgui/functions.php
===================================================================
--- rtgui.orig/functions.php	2011-04-08 10:58:13.889279350 +0200
+++ rtgui/functions.php	2011-04-08 10:58:31.369020786 +0200
@@ -310,6 +310,7 @@
     $lengths=array("60","60","24","7","4.35","12");
     $now=time();
     // is it future date or past date
+    $diff=0;
     if($now > $date) {    
         $diff=$now-$date;
     }