Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 8914)
+++ trunk/psLib/src/db/psDB.c	(revision 9030)
@@ -12,6 +12,6 @@
  *  @author Joshua Hoblitt
  *
- *  @version $Revision: 1.92 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-09-07 01:43:36 $
+ *  @version $Revision: 1.93 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-09-28 23:21:33 $
  *
  *  Copyright (C) 2005-2006  Joshua Hoblitt, University of Hawaii
@@ -959,5 +959,7 @@
     if (rowCount == 0) {
         mysql_free_result(result);
-        return NULL;
+        // occording to popular opinion a query that succeeds but returns no
+        // data should return an empty array -- this is somewhat inefficent -JH
+        return psArrayAlloc(0);
     }
 
