Ignore:
Timestamp:
Feb 10, 2022 1:48:35 AM (2 years ago)
Author:
anonymous
Message:

Minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/TemplateGlue.inc.php

    r615 r759  
    8080
    8181    $row = mysql_fetch_row($qid);
    82     if (preg_match('/^enum|^set/i', $row[1]) && preg_match_all("/'([^']*)'/", $row[1], $enum)) {
     82    if (isset($row[1]) && preg_match('/^enum|^set/i', $row[1]) && preg_match_all("/'([^']*)'/", $row[1], $enum)) {
    8383        if ($sort) {
    8484            natsort($enum[1]);
Note: See TracChangeset for help on using the changeset viewer.