
December 18th, 2012, 05:28 AM
|
 |
pollyanna
|
|
Join Date: Jul 2012
Location: Germany
|
|
|
Hi,
yeah, the first method obviously suffers from not checking if there even are session values. But apart from fixing the error, you should also check if the object actually makes sense in case there is no session. Obviously it depends on it.
Regarding the second method:
You have to look up the beautifully named "perf_es_v1_get_cpPerfumeservicebycuid" method. That's where the error originally comes from. The code you posted just reacts to this error.
|