mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Add trailing slash to saburl on profile edit
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2016-03-06 DariusIII
|
||||
* Upd: Add trailing slash to saburl on profile edit
|
||||
2016-03-02 DariusIII
|
||||
* Fix: Prevent undefined notices in Gamma theme books page
|
||||
* Fix: Fix Gamma menu on hover, use shared script for menu hover in all the themes.
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<newznab>
|
||||
<versions>
|
||||
<sql>
|
||||
<db>241</db>
|
||||
<file>241</file>
|
||||
<db>242</db>
|
||||
<file>242</file>
|
||||
</sql>
|
||||
<git>
|
||||
<tag>0.0.0</tag>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Force users' saburl entry to have a trailing slash */
|
||||
UPDATE users SET saburl = CONCAT(saburl, '/') WHERE RIGHT(saburl, 1) != '/';
|
||||
@@ -76,7 +76,7 @@ switch ($action) {
|
||||
(isset($_POST['nzbgeturl']) ? $_POST['nzbgeturl'] : ''),
|
||||
(isset($_POST['nzbgetusername']) ? $_POST['nzbgetusername'] : ''),
|
||||
(isset($_POST['nzbgetpassword']) ? $_POST['nzbgetpassword'] : ''),
|
||||
(isset($_POST['saburl']) ? $_POST['saburl'] : ''),
|
||||
(isset($_POST['saburl']) ? Utility::trailingSlash($_POST['saburl']) : ''),
|
||||
(isset($_POST['sabapikey']) ? $_POST['sabapikey'] : ''),
|
||||
(isset($_POST['sabpriority']) ? $_POST['sabpriority'] : ''),
|
||||
(isset($_POST['sabapikeytype']) ? $_POST['sabapikeytype'] : ''),
|
||||
|
||||
Reference in New Issue
Block a user