Commit 7e14ab248e7117fd0133c40f0a460adf89eba5e6

Authored by fellipevasconcelos
1 parent e85d96ae
Exists in master and in 2 other branches 3,1, 3.1

correcoes

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
Controller/PrinterController.php
@@ -398,7 +398,7 @@ class PrinterController extends Controller @@ -398,7 +398,7 @@ class PrinterController extends Controller
398 $host = $printer->getHost(); 398 $host = $printer->getHost();
399 399
400 $com = "snmpwalk -O qv -v 1 -c $community $host 1.3.6.1.2.1.43.10.2.1.4.1.1"; 400 $com = "snmpwalk -O qv -v 1 -c $community $host 1.3.6.1.2.1.43.10.2.1.4.1.1";
401 - $this->updateCounter($printer, '122'); 401 +
402 if($outPut = shell_exec($com)) 402 if($outPut = shell_exec($com))
403 { 403 {
404 $this->updateCounter($printer, $outPut); 404 $this->updateCounter($printer, $outPut);