Posted by lahode on February 10, 2012 at 4:36pm
3 followers
Jump to:
| Project: | Organic groups |
| Version: | 7.x-1.x-dev |
| Component: | og.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi, I have the following error appearing when using OG 7.x-1.x version of 2012-Feb-03
with revisioning module
Notice : Undefined property: stdClass::$original dans og_node_update() (ligne 805 dans /srv/www/5315_intranetdf/htdocs/sites/all/modules/contrib/og/og.module).
Notice : Trying to get property of non-object dans og_node_update() (ligne 805 dans /srv/www/5315_intranetdf/htdocs/sites/all/modules/contrib/og/og.module).I could of course add an isset in the code, but I wanted to be sure it was not a security issue
Cheers
Comments
#1
While I believe this is ultimately an oversight in OG to not check whether an attribute is set, I've checked in a workaround in Revisioning to avoid this double notice.
Available in the dev release.
Rik
#2
How come $original is unknown in update function?