Improved position of "close"

This commit is contained in:
Michael 2017-08-15 10:10:09 +00:00
parent a0567d4081
commit 6c9953809a
2 changed files with 8 additions and 9 deletions

View file

@ -43,11 +43,11 @@ class PConfig {
$a->config[$uid][$family][$k] = $rr['v'];
self::$in_db[$uid][$family][$k] = true;
}
dba::close($r);
} else if ($family != 'config') {
// Negative caching
$a->config[$uid][$family] = "!<unset>!";
}
dba::close($r);
}
/**