Changeset 6500 for trunk/include
- Timestamp:
- Jun 9, 2010, 11:55:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r6437 r6500 1144 1144 WHERE id = '.$params['image_id'].' 1145 1145 ;'; 1146 list($file_path, $original_sum) = mysql_fetch_row(pwg_query($query));1146 list($file_path, $original_sum) = pwg_db_fetch_row(pwg_query($query)); 1147 1147 1148 1148 // TODO only files added with web API can be updated with web API … … 1713 1713 ;'; 1714 1714 $result = pwg_query($query); 1715 if ( mysql_num_rows($result) == 0) {1715 if (pwg_db_num_rows($result) == 0) { 1716 1716 return new PwgError(404, "image_id not found"); 1717 1717 } 1718 list($path) = mysql_fetch_row($result);1718 list($path) = pwg_db_fetch_row($result); 1719 1719 1720 1720 $ret = array();
Note: See TracChangeset
for help on using the changeset viewer.