Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 'save' :
- default :
- $msg = JText::sprintf('Successfully Saved Article', $row->title);
- $query='INSERT INTO news_distribution (id_news, id_user) select '.$row->id.' as id, id_user from distribution';
- $db->setQuery($query);
- $mainframe->redirect('index.php?option=com_content§ionid='.$redirect, $msg);
- break;
Add Comment
Please, Sign In to add comment