Changeset 12739
- Timestamp:
- Dec 16, 2011, 10:10:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r12730 r12739 2428 2428 2429 2429 $info_columns = array( 2430 'file',2431 2430 'name', 2432 2431 'author', … … 2464 2463 } 2465 2464 2465 if (isset($params['file'])) 2466 { 2467 if (!empty($image_row['storage_category_id'])) 2468 { 2469 new PwgError(500, '[ws_images_setInfo] updating "file" is forbidden on photos added by synchronization'); 2470 exit(); 2471 } 2472 2473 $update['file'] = $params['file']; 2474 } 2475 2466 2476 if (count(array_keys($update)) > 0) 2467 2477 {
Note: See TracChangeset
for help on using the changeset viewer.