<commit_before><?php
$items_response = $cash_admin->requestAndStore(
	array(
		'cash_request_type' => 'commerce', 
		'cash_action' => 'getitemsforuser',
		'user_id' => $cash_admin->effective_user_id
	)
);

$releases_response = $cash_admin->requestAndStore(
	array(
		'cash_request_type' => 'asset', 
		'cash_action' => 'getassetsforuser',
		'type' => 'release',
		'parent_id' => 0,
		'user_id' => $cash_admin->effective_user_id
	)
);

$cash_admin->page_data['assets_options'] = AdminHelper::echoFormOptions('assets',false,$cash_admin->getAllFavoriteAssets(),true);

if (is_array($items_response['payload'])) {
	// IF there is an attached asset and IF it's a release then say so
	foreach ($items_response['payload'] as &$item) {
		if (is_array($releases_response['payload'])) {
			foreach ($releases_response['payload'] as $release) {
				if ($item['fulfillment_asset'] == $release['id']) {
					$item['release_asset'] = true;
					break;
				}
			}
		}
	}
<commit_msg>ICONS GODDAMMIT<commit_after><?php
$items_response = $cash_admin->requestAndStore(
	array(
		'cash_request_type' => 'commerce', 
		'cash_action' => 'getitemsforuser',
		'user_id' => $cash_admin->effective_user_id
	)
);

$releases_response = $cash_admin->requestAndStore(
	array(
		'cash_request_type' => 'asset', 
		'cash_action' => 'getassetsforuser',
		'type' => 'release',
		'user_id' => $cash_admin->effective_user_id
	)
);

$cash_admin->page_data['assets_options'] = AdminHelper::echoFormOptions('assets',false,$cash_admin->getAllFavoriteAssets(),true);

if (is_array($items_response['payload'])) {
	// IF there is an attached asset and IF it's a release then say so
	foreach ($items_response['payload'] as &$item) {
		$item['release_asset'] = false;
		if (is_array($releases_response['payload'])) {
			foreach ($releases_response['payload'] as $release) {
				if ($item['fulfillment_asset'] == $release['id']) {
					$item['release_asset'] = true;
					break;
				}
			}
		}
	}

{'fraction_non_alphanumeric': 0.1762295081967213, 'fraction_numerical': 0.0005122950819672131, 'mean_word_length': 5.553691275167785, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 30, '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': '937113', 'n_tokens_mistral': 773, 'n_tokens_neox': 675, 'n_words': 115}