fix bug in webdav

This commit is contained in:
Robin 2010-05-02 16:21:30 +02:00
parent 5a500a2455
commit 9ddd0e34ac

View file

@ -728,7 +728,7 @@
$query = "SELECT owner, exclusivelock FROM locks $where";
$res = OC_DB::query($query);
$row = OC_DB::fetch_assoc($res);
OC_DB:free_result($res);
OC_DB::free_result($res);
if (is_array($row)) {
$query = "UPDATE locks SET expires = '$options[timeout]', modified = ".time()." $where";