GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset_password fix
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
result.inc
diff --git
a/wwwroot/inc/result.inc
b/wwwroot/inc/result.inc
index ab421a612c789458d810246fc78b3c4879b7b48c..e7e99dad47e38eca3b7aadfdf094f4c4ffdf40e2 100644
(file)
--- a/
wwwroot/inc/result.inc
+++ b/
wwwroot/inc/result.inc
@@
-39,12
+39,12
@@
class result extends PDOStatement {
if (is_int($column) == true) {
return (string) $this->_currentRecord[$column - 1];
} else {
if (is_int($column) == true) {
return (string) $this->_currentRecord[$column - 1];
} else {
- return (string)
$this->_currentRecord["$column"]
;
+ return (string)
isset($this->_currentRecord["$column"]) ? $this->_currentRecord["$column"]: ""
;
}
}
function getInt($column) { //DEPRECATED!!! Use $this->fetch(); instead!!!
}
}
function getInt($column) { //DEPRECATED!!! Use $this->fetch(); instead!!!
-
$this->getString(
); //Dynamic typing OMG...
+
return $this->getString($column
); //Dynamic typing OMG...
}
function getNumRows() { //DEPRECATED!!! Use $this->rowCount(); instead!!!
}
function getNumRows() { //DEPRECATED!!! Use $this->rowCount(); instead!!!
This page took
0.21887 seconds
and
4
git commands to generate.