Changeset 4510
- Timestamp:
- Dec 18, 2009, 1:44:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/ws_functions.inc.php
r4459 r4510 890 890 { 891 891 return new PwgError(401, 'Access denied'); 892 } 893 894 if (!$service->isPost()) 895 { 896 return new PwgError(405, "This method requires HTTP POST"); 892 897 } 893 898 … … 1666 1671 } 1667 1672 1673 if (!$service->isPost()) 1674 { 1675 return new PwgError(405, "This method requires HTTP POST"); 1676 } 1677 1668 1678 $params['image_id'] = (int)$params['image_id']; 1669 1679 if ($params['image_id'] <= 0) … … 1945 1955 } 1946 1956 1957 if (!$service->isPost()) 1958 { 1959 return new PwgError(405, "This method requires HTTP POST"); 1960 } 1961 1947 1962 // category_id 1948 1963 // name
Note: See TracChangeset
for help on using the changeset viewer.