Overview
Comment:Message un peu plus explicite
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 622e2708cd49fa5322cea00d28f848f249d11375
User & Date: bohwaz on 2020-01-02 12:45:09
Other Links: manifest | tags
Context
2020-01-02
12:48
Corriger la valeur du paramètre parent à la création d'une page check-in: 53d8f91053 user: bohwaz tags: trunk, stable
12:45
Message un peu plus explicite check-in: 622e2708cd user: bohwaz tags: trunk, stable
12:41
Vérifier le contenu du champ page wiki check-in: b3132f3c1e user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Config.php from [f9cce905d0] to [86ecdff4b1].

259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
                {
                    throw new UserException(sprintf('Le nom de la page d\'accueil %s ne peut rester vide.', $key));
                }

                $db = DB::getInstance();

                if (!$db->test('wiki_pages', $db->where('uri', $value))) {
                    throw new UserException(sprintf('Le nom de la page d\'accueil %s ne correspond à aucune page existante.', $key));
                }
                break;
            }
            case 'email_asso':
            {
                if (!SMTP::checkEmailIsValid($value, false))
                {







|







259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
                {
                    throw new UserException(sprintf('Le nom de la page d\'accueil %s ne peut rester vide.', $key));
                }

                $db = DB::getInstance();

                if (!$db->test('wiki_pages', $db->where('uri', $value))) {
                    throw new UserException(sprintf('Le nom de la page d\'accueil %s ne correspond à aucune page existante, merci de la créer auparavant.', $key));
                }
                break;
            }
            case 'email_asso':
            {
                if (!SMTP::checkEmailIsValid($value, false))
                {