Skip to content

Commit 0b04a89

Browse files
author
magnussolution
committed
fix proxy slaves
1 parent e0d7cb5 commit 0b04a89

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

build/MagnusBilling-current.tar.gz

-906 Bytes
Binary file not shown.

protected/controllers/ServersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function afterSave($model, $values)
8989

9090
} else {
9191

92-
$modelServerAS = Servers::model()->find("(type = 'asterisk' OR type = 'mbilling')
92+
$modelServerAS = Servers::model()->findAll("(type = 'asterisk' OR type = 'mbilling')
9393
AND status = 1 AND weight > 0");
9494
foreach ($modelServerAS as $key => $server) {
9595

0 commit comments

Comments
 (0)