Opened 5 years ago
Closed 5 years ago
#373 closed (invalid)
Object/Group/etc ->save() doesn't return GUID on save
| Reported by: | marcus | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | ||
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: | brettp | Difficulty: |
Description (last modified by marcus)
Probably should. Knock on effect is that test for
if ($foo->save())
do good
else
do bad
doesn't behave as expected since $foo->save() will return "0" which a lazy compare (i.e. not ===) will interpret as false.
Change History (2)
comment:1 Changed 5 years ago by marcus
- Description modified (diff)
comment:2 Changed 5 years ago by marcus
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

My bad