Guest User

Untitled

a guest
Sep 23rd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1.     //  Check whether we should display profile import options.
  2.     $sql -> query('SELECT `reg_source`, `completed` FROM `jb_users` WHERE `id` = ' .
  3.         $sql -> escape_string($this -> user_id) . ' LIMIT 1');
  4.     if ($sql -> num_rows()) {
  5.         $f = $sql -> fetch();
  6.     }
  7.     $sql -> free_result();
  8.    
  9.     $application -> output['display_import_profile'] = (
  10.         (profile_import::is_enabled()) &&
  11.         (($f['reg_source'] == 'webjobs') && (!$f['completed']))
  12.     );
Add Comment
Please, Sign In to add comment