Advertisement
Guest User

Untitled

a guest
May 30th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. public function ItemEditForm() {
  2.  
  3.     $form = parent::ItemEditForm();
  4.  
  5.     if (isset($_GET['ID']) && is_numeric($_GET['ID'])) {           
  6.         $_SESSION['CMSMain']['currentPage'] = intval($_GET['ID']);
  7.     }
  8.  
  9.     // My stuff
  10.  
  11.     return $form;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement