diff options
author | Preston Cody <codeman@gentoo.org> | 2007-05-21 04:04:36 +0000 |
---|---|---|
committer | Preston Cody <codeman@gentoo.org> | 2007-05-21 04:04:36 +0000 |
commit | 1361e12204c1c4f0577e26c60950c3e0ea64ae03 (patch) | |
tree | 364502b84c3ca57af66cff739ee80f15a17e0d43 /scire | |
parent | adding sample postprocess code. this will clearly NOT work, but (diff) | |
download | scire-1361e12204c1c4f0577e26c60950c3e0ea64ae03.tar.gz scire-1361e12204c1c4f0577e26c60950c3e0ea64ae03.tar.bz2 scire-1361e12204c1c4f0577e26c60950c3e0ea64ae03.zip |
just return the success code rather than the rowcount cause there is none.
svn path=/; revision=202
Diffstat (limited to 'scire')
-rw-r--r-- | scire/.lib/DB.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scire/.lib/DB.php b/scire/.lib/DB.php index 0a733bd..9fbe611 100644 --- a/scire/.lib/DB.php +++ b/scire/.lib/DB.php @@ -88,7 +88,7 @@ class DB { print $dbi->ErrorMsg(); return false; } else { - return $result->RecordCount(); + return $result; } break; case 'update': @@ -101,7 +101,7 @@ class DB { print $dbi->ErrorMsg(); return false; } else { - return $result->RecordCount(); + return $result; } break; |