sim's patch #1217: webdav client cache fix

This commit is contained in:
Ralf Becker 2003-03-04 18:10:15 +00:00
parent 6395e2a6ab
commit ff3eae22d3

View File

@ -693,7 +693,14 @@ if (DEBUG_CACHE)
$this->debug($newitem);
$newitem['name'] = $this->decodeurl($newitem['name']);
$result[$fixed_name]=$newitem;
$this->cached_props[$name.'//1//1'] = array($fixed_name=>$newitem);
if ($newitem['is_dir']==1)
{
$this->cached_props[$name.'//0//1'] = array($fixed_name=>$newitem);
}
else
{
$this->cached_props[$name.'//1//1'] = array($fixed_name=>$newitem);
}
}
if ($sorted)
{