Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Check whether we should display profile import options.
- $sql -> query('SELECT `reg_source`, `completed` FROM `jb_users` WHERE `id` = ' .
- $sql -> escape_string($this -> user_id) . ' LIMIT 1');
- if ($sql -> num_rows()) {
- $f = $sql -> fetch();
- }
- $sql -> free_result();
- $application -> output['display_import_profile'] = (
- (profile_import::is_enabled()) &&
- (($f['reg_source'] == 'webjobs') && (!$f['completed']))
- );
Add Comment
Please, Sign In to add comment