summaryrefslogtreecommitdiffstats
path: root/deps
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-09-07 07:02:18 -0400
committerMalf Furious <m@lfurio.us>2018-09-07 07:02:18 -0400
commit575d532b06eeae5eac77f231265e8fd7034d4fd7 (patch)
tree80ebda8a427d092e4e63bdbda99b511e1ec9cad0 /deps
parentad49e79ec0b3a49d8d89fb8d190f822d0b2c2268 (diff)
downloadscrott-575d532b06eeae5eac77f231265e8fd7034d4fd7.tar.gz
scrott-575d532b06eeae5eac77f231265e8fd7034d4fd7.zip
Fix bug in function table->loadObj()
If a table query yeilds zero rows, we would still attempt to load the first (index zero) into $this, causing an error to be thrown by PHP. We are now checking the size of the results array first.
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions