fixing 'undefined index' error
This commit is contained in:
parent
537f0fb638
commit
dfdd41655d
|
@ -295,7 +295,10 @@ class DB_Sql {
|
|||
* @return integer
|
||||
*/
|
||||
function f($Name) {
|
||||
return $this->Record[$Name];
|
||||
if (isset($this->Record[$Name]))
|
||||
return $this->Record[$Name];
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
function p($Name) {
|
||||
|
|
Loading…
Reference in New Issue