Overview
Comment:Fix null comparison in search results
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: fc00d48b99ecb0c585395270ee921602ce1244c9062e8cd5fafbf166f0fd3bbd
User & Date: bohwaz on 2021-03-22 17:23:52
Other Links: manifest | tags
Context
2021-03-25
18:42
New stable release check-in: 598cf1bdc2 user: bohwaz tags: trunk, stable, 1.0.7
2021-03-22
17:23
Fix null comparison in search results check-in: fc00d48b99 user: bohwaz tags: trunk, stable
13:17
Exclude volunteering accounts from graphs check-in: 41ea740544 user: bohwaz tags: trunk, stable
Changes

Modified src/templates/acc/search.tpl from [8068c4405e] to [44143dda7c].

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
						</td>
						{else}
						<td>
							{if $key == 'credit' || $key == 'debit'}
								{$value|raw|html_money:false}
							{elseif $key == 'date'}
								{$value|date_short}
							{elseif null == $value}
								<em>(nul)</em>
							{else}
								{$value}
							{/if}
						</td>
						{/if}
					{/foreach}







|







36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
						</td>
						{else}
						<td>
							{if $key == 'credit' || $key == 'debit'}
								{$value|raw|html_money:false}
							{elseif $key == 'date'}
								{$value|date_short}
							{elseif null === $value}
								<em>(nul)</em>
							{else}
								{$value}
							{/if}
						</td>
						{/if}
					{/foreach}

Modified src/templates/admin/config/advanced/sql.tpl from [a5a49b987e] to [77c1f41d26].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
				</tr>
			</thead>
			<tbody>
				{foreach from=$result item="row"}
					<tr>
						{foreach from=$row key="key" item="value"}
							<td>
								{if null == $value}
									<em>NULL</em>
								{else}
									{$value}
								{/if}
							</td>
						{/foreach}
					</tr>







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
				</tr>
			</thead>
			<tbody>
				{foreach from=$result item="row"}
					<tr>
						{foreach from=$row key="key" item="value"}
							<td>
								{if null === $value}
									<em>NULL</em>
								{else}
									{$value}
								{/if}
							</td>
						{/foreach}
					</tr>