Skip to content
Snippets Groups Projects
Commit 48027084 authored by hahn's avatar hahn
Browse files

prevent php warning

parent 888cdede
No related branches found
No related tags found
1 merge request!426295 commits with ampersand
...@@ -120,6 +120,7 @@ if(is_array($aData) && count($aData)){ ...@@ -120,6 +120,7 @@ if(is_array($aData) && count($aData)){
// $sTable.='<tr>'; // $sTable.='<tr>';
foreach ($aRow as $sKey=>$sValue){ foreach ($aRow as $sKey=>$sValue){
// $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>'; // $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>';
$sOnclick='';
$sLabel=strstr($sValue, '"') $sLabel=strstr($sValue, '"')
? htmlentities($sValue) ? htmlentities($sValue)
: '<a href="#" onclick="$(\'#eFilter\').val(\''.$sValue.'\');filterTable();" title="click to filter by ['.$sValue.']">'.htmlentities($sValue).'</a>' : '<a href="#" onclick="$(\'#eFilter\').val(\''.$sValue.'\');filterTable();" title="click to filter by ['.$sValue.']">'.htmlentities($sValue).'</a>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment