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