Fix #532. Adds an intermediate variable to be compatible with php 5.3
Merge pull request #533 from owncloud/fix-532

Fix #532. Adds an intermediate variable to be compatible with php 5.3