Overview
Comment:'help' is sometimes undefined
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA3-256: 46046dab2f8291f8535c1e00f22ebfe84bbbb8eac496879538c42a0a691c6d8c
User & Date: bohwaz on 2023-05-31 16:02:00
Other Links: branch diff | manifest | tags
Context
2023-05-31
17:08
Login field database index fixed when changing the login field from the admin check-in: 378ffbbd95 user: alinaar tags: dev
16:02
'help' is sometimes undefined check-in: 46046dab2f user: bohwaz tags: dev
15:52
Don't include plugins, yet check-in: e318a27e90 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Template.php from [c7200fc438] to [7039e04c85].

510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
			}
			else {
				$required_label =  ' <i>(facultatif)</i>';
			}

			$out  = sprintf('<dt><label for="f_%s_0">%s</label>%s<input type="hidden" name="%s_present" value="1" /></dt>', $key, htmlspecialchars($field->label), $required_label, $key);

			if ($field->help) {
				$out .= sprintf('<dd class="help">%s</dd>', htmlspecialchars($help));
			}

			foreach ($options as $k => $v)
			{
				$b = 0x01 << (int)$k;








|







510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
			}
			else {
				$required_label =  ' <i>(facultatif)</i>';
			}

			$out  = sprintf('<dt><label for="f_%s_0">%s</label>%s<input type="hidden" name="%s_present" value="1" /></dt>', $key, htmlspecialchars($field->label), $required_label, $key);

			if ($field->help ?? null) {
				$out .= sprintf('<dd class="help">%s</dd>', htmlspecialchars($help));
			}

			foreach ($options as $k => $v)
			{
				$b = 0x01 << (int)$k;