owncloud/core — pull request #538 by Deltachaos (2012-11-20 22:38:41+00:00)
Title: Fixes update of shared files with mirall because it dose not update all ...

...methadata for a file.

This fixes issue #537

The update methode created an invalid SQL string if no attribute is in data.
The data after a mirall update was: array('user' => 'admin')
So the methode update created the SQL string:
UPDATE `*PREFIX*fscache` SET WHERE `id`=?

an simple if(!empty($queryParts)) prevents this