How to change value of a node field after a webform is submitted?
If typo:

if($reservableItem -&gt;type == 'items'){


change into: 

if($reservableItem-&gt;type == 'items'){


In my implementation I get the submission values like:

$submission-&gt;data[3][0]


So try to change it accordingly