Support #173
Should $check be $res?
| Status: | Closed | Start: | 08/05/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - |
Description
Line 29 should be $res not $check, else the following Apache errors show up:
PHP Notice: Undefined variable: check in /var/www/html/admin/modules/superfecta/bin/source-Superfecta_Cache.php on line 29
The code:
//query cache
$sql = "SELECT callerid FROM superfectacache WHERE number = '$thenumber'";
$res = $db->getOne($sql);
if (DB::IsError($check))
{
die_freepbx( "Error: " . $res->getMessage() . "<br>");
}
History
Updated by jacobsj over 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
This bug has been corrected.