Overview
Comment: | Fix: undefined index 'align' on line 666 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
1925c75755fde025f812f1e08fd58a88 |
User & Date: | bohwaz on 2017-01-23 00:02:27 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2017-01-25
| ||
22:20 | Correction bug restauration signalé par @Boris (erreur d'utilisateur non admin même quand il est admin) check-in: 13d759716c user: bohwaz tags: trunk, stable | |
2017-01-23
| ||
05:39 | Merge avec trunk check-in: 55df9fab5d user: bohwaz tags: dev | |
00:02 | Fix: undefined index 'align' on line 666 check-in: 1925c75755 user: bohwaz tags: trunk | |
2017-01-22
| ||
21:48 | Fix .htaccess pour plugins avec MultiViews (merci @Fabien et @Sébastien) check-in: ead6ede24a user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Fichiers.php from [3b1bc8db8b] to [2f1047e8fe].
︙ | ︙ | |||
616 617 618 619 620 621 622 | * Callback utilisé pour l'extension <<image>> dans le wiki-texte * @param array $args Arguments passés à l'extension * @param string $content Contenu éventuel (en mode bloc) * @param object $skriv Objet SkrivLite */ static public function SkrivImage($args, $content, $skriv) { | | | 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 | * Callback utilisé pour l'extension <<image>> dans le wiki-texte * @param array $args Arguments passés à l'extension * @param string $content Contenu éventuel (en mode bloc) * @param object $skriv Objet SkrivLite */ static public function SkrivImage($args, $content, $skriv) { $_args = ['align' => 'centre']; $_align_values = ['droite', 'gauche', 'centre']; foreach ($args as $value) { if (preg_match('/^\d+$/', $value) && !array_key_exists('id', $_args)) { $_args['id'] = (int)$value; |
︙ | ︙ |