aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/config
diff options
context:
space:
mode:
authorWilli Eggeling <thewilli@gmail.com>2017-08-27 19:19:59 +0200
committerWilli Eggeling <thewilli@gmail.com>2017-08-30 12:54:58 +0200
commita74f52a8d206a6d5c3fe27667f1633bf2fc1374d (patch)
tree8b41b014685737ef9b5161151bc217edca8944b2 /tests/config
parentfc27141cf6eb04d3d8714385cb6961a8063fe61b (diff)
downloadShaarli-a74f52a8d206a6d5c3fe27667f1633bf2fc1374d.tar.gz
Shaarli-a74f52a8d206a6d5c3fe27667f1633bf2fc1374d.tar.zst
Shaarli-a74f52a8d206a6d5c3fe27667f1633bf2fc1374d.zip
fixed link deletion
When deleting links, the js of the default theme separated ids by an escaped space ('+'). There was a trailing '+' after the ids which led to the php code detecting multiple values even for single values. In combination with the id '0' this could led to no id found at all and a resulting php error. this commit fixes the behavior and adds an additional error handling and trimming to the php code.
Diffstat (limited to 'tests/config')
0 files changed, 0 insertions, 0 deletions