Update of /cvsroot/openfirst/projects
In directory sc8-pr-cvs1:/tmp/cvs-serv31805
Modified Files:
projectsmodule.php
Log Message:
Error with ofirst_dbnum_rows fixed.
Index: projectsmodule.php
===================================================================
RCS file: /cvsroot/openfirst/projects/projectsmodule.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** projectsmodule.php 10 Oct 2003 01:35:16 -0000 1.1
--- projectsmodule.php 10 Oct 2003 11:19:02 -0000 1.2
***************
*** 52,56 ****
// If you do not set the group value then nothing will show. So we must get
// the value directly by querying the related project value.
! if(ofirstdb_num_rows($task_query) == 0){
$project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE ID = ".$value);
--- 52,56 ----
// If you do not set the group value then nothing will show. So we must get
// the value directly by querying the related project value.
! if(ofirst_dbnum_rows($task_query) == 0){
$project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE ID = ".$value);
|