public function save_edit()
 {
     if (!isset($_SESSION['logged'])) {
         return call('pages', 'home');
     } else {
         if (!isset($_GET['name'])) {
             return call('pages', 'error', 2);
         }
         $post_data = $_POST;
         Sources::save($post_data, $_GET['name']);
         return call('sources', 'index');
     }
 }