function fetch_info_by_id($owner) { $this->user = mysql_fetch_assoc(mysql_query("SELECT * FROM " . PLAYERS_TABLE . " WHERE `id`={$owner}")) or error_text(4); }
function error_check($bug_count, $title) { if (0 == $bug_count) { $t_graph_font = graph_get_font(); error_text($title, plugin_lang_get('not_enough_data')); } }
/** * Check that there is enough data to create graph * * @param int $p_bug_count bug count * @param string $p_title title */ function error_check($bug_count, $title) { if (0 == $bug_count) { error_text($title, plugin_lang_get('not_enough_data')); } }