Browse Source

Use the correct object for fetching.

Joe Clarke 5 years ago
parent
commit
734f27a125
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/swreg/callhome.php

+ 1 - 1
www/swreg/callhome.php

@@ -67,7 +67,7 @@ try {
     exit(1);
 }
 
-$row = $res->fetch();
+$row = $sth->fetch();
 $sth->closeCursor();
 
 if ($row['should_re_ztp'] == 1) {