LUGG-192 : fixing php error