From 3733161e2de6b5a7092884f4e39ce8c846ae8f8c Mon Sep 17 00:00:00 2001
From: Adrian Lang <dokuwiki@adrianlang.de>
Date: Wed, 8 Dec 2010 08:51:32 +0100
Subject: [PATCH] Add missing variable declaration

---
 inc/html.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/inc/html.php b/inc/html.php
index 9d3c92707..1e02ac9ce 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -888,6 +888,9 @@ function html_diff($text='',$intro=true){
         $rev2 = (int) $_REQUEST['rev2'];
     }
 
+    $r_minor = '';
+    $l_minor = '';
+
     if($text){                      // compare text to the most current revision
         $l_rev   = '';
         $l_text  = rawWiki($ID,'');
-- 
GitLab