Changeset 7655 for trunk/phpgwapi/inc/class.vfs_sql.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r6057 r7655 242 242 $sql2 .= ' VALUES ('; 243 243 244 for ($i = 0; list ($attribute, $value) = each ($file_array); $i++)244 for ($i = 0; list ($attribute, $value) = each ($file_array); ++$i) 245 245 { 246 246 if ($attribute == 'file_id' || $attribute == 'content') … … 357 357 } 358 358 359 for ($i = 0; $i < $newnumofparts; $i++)359 for ($i = 0; $i < $newnumofparts; ++$i) 360 360 { 361 361 if (!isset ($version_parts[$i])) … … 2222 2222 $sql .= $attribute.'=' .$GLOBALS['phpgw']->db->quote($data['attributes'][$attribute],$this->column_defs[$attribute]['type']); 2223 2223 2224 $change_attributes++;2224 ++$change_attributes; 2225 2225 } 2226 2226 } … … 2863 2863 2864 2864 $rarray = array (); 2865 for ($i = 0; $GLOBALS['phpgw']->db->next_record (); $i++)2865 for ($i = 0; $GLOBALS['phpgw']->db->next_record (); ++$i) 2866 2866 { 2867 2867 $record = $GLOBALS['phpgw']->db->Record;
Note: See TracChangeset
for help on using the changeset viewer.