Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv25766
Modified Files:
workspace.php
Log Message:
Remove errors given if the user viewing the workspace is not currently logged in.
Index: workspace.php
===================================================================
RCS file: /cvsroot/openfirst/members/workspace.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** workspace.php 22 Dec 2003 05:03:34 -0000 1.14
--- workspace.php 22 Dec 2003 17:25:46 -0000 1.15
***************
*** 34,39 ****
// Get important data used throughout this.
! $wsu = ofirst_dbquery("SELECT * FROM ofirst_workspace_users WHERE user='$user->user';");
! $ws = ofirst_dbfetch_object($wsu);
if(isset($_GET["action"]) == true && $_GET["action"] == "view" && isset($_GET["view"]) == true) {
--- 34,41 ----
// Get important data used throughout this.
! if(isset($user->user)) {
! $wsu = ofirst_dbquery("SELECT * FROM ofirst_workspace_users WHERE user='$user->user';");
! $ws = ofirst_dbfetch_object($wsu);
! }
if(isset($_GET["action"]) == true && $_GET["action"] == "view" && isset($_GET["view"]) == true) {
|