summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-08 15:18:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-08 15:18:12 +0000
commite2797210465f18353ac476688f2b1e5af986ca82 (patch)
tree1ee9d086189dab4d9d9e2ee7c41a7a43f597b198
parent03007a3facf46e763bc29a98e4fda84fd1b281a0 (diff)
downloadpfsense-e2797210465f18353ac476688f2b1e5af986ca82.zip
pfsense-e2797210465f18353ac476688f2b1e5af986ca82.tar.gz
isarray -> is_array
Found-by: databeestje
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 5fc189f..4baaae0 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1371,7 +1371,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
/* if user has selected a custom gateway, lets work with it */
if($rule['gateway'] <> "") {
$foundlb = 0;
- if(isarray($config['load_balancer']['lbpool'])) {
+ if(is_array($config['load_balancer']['lbpool'])) {
foreach($config['load_balancer']['lbpool'] as $lb) {
if($lb['name'] == $rule['gateway']) {
$gateway = $rule['gateway'];
OpenPOWER on IntegriCloud