Changeset 1537:a3ac778e9132 for admin/post_media.php
- Timestamp:
- 08/20/13 22:29:42 (12 years ago)
- Branch:
- ticket #1406-2
- Children:
- 1538:b956d78197c5, 1539:e3954ad1f103
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/post_media.php
r1179 r1537 26 26 } 27 27 28 if ($post_id && $media_id && !empty($_POST['attach'])) 29 { 30 $core->media = new dcMedia($core); 31 $core->media->addPostMedia($post_id,$media_id); 32 http::redirect($core->getPostAdminURL($rs->post_type,$post_id,false)); 33 } 28 try { 29 if ($post_id && $media_id && !empty($_POST['attach'])) 30 { 31 $core->media = new dcMedia($core); 32 $core->media->addPostMedia($post_id,$media_id); 33 http::redirect($core->getPostAdminURL($rs->post_type,$post_id,false)); 34 } 34 35 35 try {36 36 $core->media = new dcMedia($core); 37 37 $f = $core->media->getPostMedia($post_id,$media_id);
Note: See TracChangeset
for help on using the changeset viewer.