bugfix incorrect variable name

This commit is contained in:
Nathan Coad
2016-07-22 15:17:58 +10:00
parent b102d4c496
commit a7d33c6239
2 changed files with 2 additions and 3 deletions

View File

@@ -29,8 +29,7 @@ function booking_balance_page() {
$person = $query->execute()
->fetchObject();
if ($person)
{
if ($person) {
//load all the fields
$node = node_load($person->nid);
//calculate the invoice ID