<commit_before><?php
/*
Author: <NAME>
URL: http://chasemg.com
*/
include "db_include.php";
$html = '';
$id = $_POST['id'];
$patients = $pdb->get_results("SELECT * FROM ".$wpdb->prefix. "patients AS p INNER JOIN ".$wpdb->prefix. "users AS u ON u.ID=p.user_id WHERE p.doctor='$id'");
$html .= "<ul id='patients'>";
foreach($patients as $patient)	{
	$html .= "<li class='patient' id='".$patient->user_id."'><div class='search_image'><img src='".get_template_directory_uri()."/dashboard/profile_photos/".$patient->image."'></div><div class='patient_search_name'>".$patient->display_name."</div></li>";
}
$html .= "</ul>";

echo $html;
?><commit_msg>patient search fix<commit_after><?php
/*
Author: <NAME>
URL: http://chasemg.com
*/
include "db_include.php";
$html = '';
$id = $_POST['id'];
$patients = $pdb->get_results("SELECT * FROM ".$wpdb->prefix. "patients AS p WHERE p.doctor='$id'");
$html .= "<ul id='patients'>";
foreach($patients as $patient)	{
	$html .= "<li class='patient' id='".$patient->user_id."'><div class='search_image'><img src='".get_template_directory_uri()."/dashboard/profile_photos/".$patient->image."'></div><div class='patient_search_name'>".$patient->display_name."</div></li>";
}
$html .= "</ul>";

echo $html;
?>
{'fraction_non_alphanumeric': 0.258272800645682, 'fraction_numerical': 0.0, 'mean_word_length': 5.888888888888889, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7151233', 'n_tokens_mistral': 458, 'n_tokens_neox': 448, 'n_words': 82}