Overview
Comment:Correctif PHP 7.4: référence à une variable nulle
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 83f694001d07e049335c064986cbb73f44d09422
User & Date: bohwaz on 2020-01-31 00:23:44
Other Links: branch diff | manifest | tags
Context
2020-02-29
23:17
Merge avec trunk check-in: 22c90a3c3f user: bohwaz tags: dev
2020-01-31
01:06
* Gérer les fichiers CSV provenant des vieilles versions d'Excel pour Mac OS. * Ajouter la mention de la taille limite du fichier check-in: b81cf4d462 user: bohwaz tags: trunk, stable
00:23
Correctif PHP 7.4: référence à une variable nulle check-in: 83f694001d user: bohwaz tags: dev
2020-01-29
15:32
Suppression de la cotisation obligatoire pour les catégories check-in: 84710d146c user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Squelette.php from [f4ce828da9] to [c51c3077ae].

653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
        catch (\Exception $e)
        {
            throw new \KD2\MiniSkelMarkupException("Erreur SQL dans la requête : ".$e->getMessage() . "\n " . $query);
        }

        $hash = sha1(uniqid(mt_rand(), true));
        $out = new Squelette_Snippet();
        $out->append(1, '$parent_hash = $this->current[\'_self_hash\'];');
        $out->append(1, '$this->parent =& $parent_hash ? $this->_vars[$parent_hash] : null;');

        if (!empty($search))
        {
            $out->append(1, 'if (trim($this->getVariable(\'recherche\'))) { ');
        }








|







653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
        catch (\Exception $e)
        {
            throw new \KD2\MiniSkelMarkupException("Erreur SQL dans la requête : ".$e->getMessage() . "\n " . $query);
        }

        $hash = sha1(uniqid(mt_rand(), true));
        $out = new Squelette_Snippet();
        $out->append(1, '$parent_hash = @$this->current[\'_self_hash\'];');
        $out->append(1, '$this->parent =& $parent_hash ? $this->_vars[$parent_hash] : null;');

        if (!empty($search))
        {
            $out->append(1, 'if (trim($this->getVariable(\'recherche\'))) { ');
        }