Changeset 7681 for trunk/phpgwapi/inc/class.vfs_sql.inc.php
- Timestamp:
- 12/19/12 16:44:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r7655 r7681 1411 1411 $newdir = preg_replace("/^$f->fake_full_path/", "$t->fake_full_path", $entry['directory']); 1412 1412 $this->cp (array( 1413 'from' => "$entry[directory]/ $entry[name]",1414 'to' => "$newdir/ $entry[name]",1413 'from' => "$entry[directory]/{$entry['name']}", 1414 'to' => "$newdir/{$entry['name']}", 1415 1415 'relatives' => array ($f->mask, $t->mask) 1416 1416 ) … … 1651 1651 1652 1652 $query = $GLOBALS['phpgw']->db->query ("UPDATE phpgw_vfs SET directory='". 1653 $GLOBALS['phpgw']->db->db_addslashes($newdir_clean)."' WHERE file_id=' $entry[file_id]'" .1653 $GLOBALS['phpgw']->db->db_addslashes($newdir_clean)."' WHERE file_id='{$entry['file_id']}'" . 1654 1654 $this->extra_sql (array ('query_type' => VFS_SQL_UPDATE)), __LINE__, __FILE__); 1655 1655 $this->correct_attributes (array( 1656 'string' => "$newdir/ $entry[name]",1656 'string' => "$newdir/{$entry['name']}", 1657 1657 'relatives' => array ($t->mask) 1658 1658 ) … … 1782 1782 1783 1783 $this->rm (array( 1784 'string' => " $entry[directory]/$entry[name]",1784 'string' => "{$entry['directory']}/{$entry['name']}", 1785 1785 'relatives' => array ($p->mask) 1786 1786 ) … … 1798 1798 /* Only the best in confusing recursion */ 1799 1799 $this->rm (array( 1800 'string' => " $entry[directory]/$entry[name]",1800 'string' => "{$entry['directory']}/{$entry['name']}", 1801 1801 'relatives' => array ($p->mask) 1802 1802 )
Note: See TracChangeset
for help on using the changeset viewer.