[@Moritz Naczenski](http://forum.shopware.com/profile/14574/Moritz Naczenski “Moritz Naczenski”) Thank you very much, I’ve added the if statement and it worked, so that means if you call a function on null it will throw an exception right?
[@Moritz Naczenski](http://forum.shopware.com/profile/14574/Moritz Naczenski “Moritz Naczenski”) Thank you very much, I’ve added the if statement and it worked, so that means if you call a function on null it will throw an exception right?