Don't assume that $data is an object - it might also be a string here.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 9 Mar 2010 14:22:45 +0000 (09:22 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 9 Mar 2010 14:22:45 +0000 (09:22 -0500)
commite2ccee4480b9961f3e682a6f95db18b9dc37fbaf
treed9a8c42351424c3806226a93b05ee104a2f7e646
parent3d36d1f649d343aac2c5a91a45de33e38456ae78
Don't assume that $data is an object - it might also be a string here.

Really need to either document or standardize the type for $data in this function.
It's currently either an array/object/string depending on where it was called from.
framework/Core/lib/Horde.php