Ticket #3608: freepbx_admin.php.patch

File freepbx_admin.php.patch, 0.6 kB (added by Nick_Lewis, 3 years ago)
  • old/freepbx_admin.php

    old new  
    112112      $label_text = _($row['name']); 
    113113    } 
    114114    if (isset($row['disabled']) && $row['disabled']) { 
    115       echo $label_text
     115      echo htmlspecialchars($label_text)
    116116    } else { 
    117       echo '<a href="'.$href.'" '.$extra_attributes.' >'. $label_text . "</a>"; 
     117      echo '<a href="'.$href.'" '.$extra_attributes.' >'. htmlspecialchars($label_text) . "</a>"; 
    118118    } 
    119119    echo "</li>\n"; 
    120120  }