]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
backport: Fix a warning if links sticky status isn't set
authorVirtualTam <virtualtam@flibidi.net>
Mon, 15 Apr 2019 21:57:08 +0000 (23:57 +0200)
committerVirtualTam <virtualtam@flibidi.net>
Mon, 15 Apr 2019 21:57:08 +0000 (23:57 +0200)
commit1cc5eaf9dee0e71aefbce1ff0f28c86ff320c053
treec139d7fefc0217b2f18fbb41cb4222879585d3e0
parent0ed9396bfa12f086369b52cdc0742e3fe72273ec
backport: Fix a warning if links sticky status isn't set

- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)

This is a backport of https://github.com/shaarli/Shaarli/pull/1270

Original author information:

commit b790f900c937d0d8f6eccc15d2b4c26023f3d276
Author: ArthurHoaro <arthur@hoa.ro>
Date:   Sat Feb 9 14:04:16 2019 +0100

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
application/LinkDB.php
index.php