From 48027084aceb4ec925140a878ba8c5bbca6b42fc Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 14 Apr 2023 15:10:58 +0200
Subject: [PATCH] prevent php warning

---
 public_html/valuestore/browse.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public_html/valuestore/browse.php b/public_html/valuestore/browse.php
index 6cda243e..f19da467 100644
--- a/public_html/valuestore/browse.php
+++ b/public_html/valuestore/browse.php
@@ -120,6 +120,7 @@ if(is_array($aData) && count($aData)){
         // $sTable.='<tr>';
         foreach ($aRow as $sKey=>$sValue){
             // $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>';
+            $sOnclick='';
             $sLabel=strstr($sValue, '"')
                     ? htmlentities($sValue)
                     : '<a href="#" onclick="$(\'#eFilter\').val(\''.$sValue.'\');filterTable();" title="click to filter by ['.$sValue.']">'.htmlentities($sValue).'</a>'
-- 
GitLab