summaryrefslogtreecommitdiff
path: root/scire
diff options
context:
space:
mode:
authorPreston Cody <codeman@gentoo.org>2007-05-21 04:04:36 +0000
committerPreston Cody <codeman@gentoo.org>2007-05-21 04:04:36 +0000
commit1361e12204c1c4f0577e26c60950c3e0ea64ae03 (patch)
tree364502b84c3ca57af66cff739ee80f15a17e0d43 /scire
parentadding sample postprocess code. this will clearly NOT work, but (diff)
downloadscire-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.php4
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;