| # | Line 217 | Line 217 | function showMailQ($mailqRoot, $input) { | |
|---|---|---|
| 217 | # Return a preg_match result. | |
| 218 | function getPregMatch($value, $input) { | |
| 219 | preg_match("/$value=([^\,\}]*)[\,\}]/", $input, $matches); | |
| 220 | + | if(!isset($matches[1])) { |
| 221 | + | return; |
| 222 | + | } |
| 223 | return $matches[1]; | |
| 224 | } | |
| 225 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |