Guest User

Untitled

a guest
Dec 11th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. case 'save' :
  2. default :
  3. $msg = JText::sprintf('Successfully Saved Article', $row->title);
  4. $query='INSERT INTO news_distribution (id_news, id_user) select '.$row->id.' as id, id_user from distribution';
  5. $db->setQuery($query);
  6. $mainframe->redirect('index.php?option=com_content&sectionid='.$redirect, $msg);
  7. break;
Add Comment
Please, Sign In to add comment