Revision be754c8b
Added by Ermal Luçi about 10 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
1224 | 1224 |
if (is_array($ipfwoutput)) { |
1225 | 1225 |
/* Workaround for #46652 */ |
1226 | 1226 |
if ($ipfwoutput['packets'] > 0) { |
1227 |
return $ipfw_tbl1['timestamp']; |
|
1228 |
} else { |
|
1229 | 1227 |
return $ipfwoutput['timestamp']; |
1228 |
} else { |
|
1229 |
return 0; |
|
1230 | 1230 |
} |
1231 | 1231 |
} |
1232 | 1232 |
|
Also available in: Unified diff
Ticket #4652 actually return value as expected!