Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2011 at 08:15 UTC
Updated:
10 Jan 2012 at 16:10 UTC
Jump to comment: Most recent file
Comments
Comment #2
fagoSounds good. As test fails show, we need to check whether the uid property is set though. Maybe even better, only do that if the passed entity matches $GLOBALS['user'].
Comment #3
amitaibuOk, let's try this one..
Comment #4
fagothanks. I've changed it to use $GLOBALS['user'] to save a line, improved the comment a bit and committed it.