[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #4059] Not object or array error in soprojec
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [bug #4059] Not object or array error in soprojects |
Date: |
Tue, 01 Jul 2003 03:28:58 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030618 Debian/1.3.1-3 |
=================== BUG #4059: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4059&group_id=509
Changes by: Dave Hall <address@hidden>
Date: Tue 07/01/03 at 17:28 (Australia/Melbourne)
What | Removed | Added
---------------------------------------------------------------------------
Bug Group | devel cvs | 0.9.16 pre RC
Assigned to | None | ceb
=================== BUG #4059: FULL BUG SNAPSHOT ===================
Submitted by: dhouston Project: phpGroupWare
Submitted on: Sat 06/21/03 at 05:13
Category: projects Bug Group: 0.9.16 pre RC
Severity: 5 - Major Priority: None
Resolution: Fixed Assigned to: ceb
Status: Closed Component Version: None
Platform Version: None Reproducibility: Intermittent
Summary: Not object or array error in soprojects
Original Submission: In 9.14.506, I had a user try to update an existing
project and get:
Warning: Variable passed to each() is not an array or object in
/var/www/groupware/projects/inc/class.soprojects.inc.php on line 335
When I looked at the section in question (the last if-block in the edit_project
function), I found:
if (count($bill_activities) != 0)
It turns out that there were no billable activities selected for the project
she was editing. I changed the if line to:
if (sizeof($bill_activities) != 0 && is_array($bill_activities))
And it worked like a charm. My line numbers may not match up with src line
numbers thanks to customizations I've done.
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4059&group_id=509
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [bug #4059] Not object or array error in soprojects,
nobody <=