From 76567cbd385e615da41957ca0be2d33114cf01ad Mon Sep 17 00:00:00 2001 From: 8chan Date: Fri, 23 May 2014 21:24:16 +0000 Subject: [PATCH 1/3] Fix expand-too-long.js for multifile --- js/expand-too-long.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/expand-too-long.js b/js/expand-too-long.js index 23921eaf..e768aa27 100644 --- a/js/expand-too-long.js +++ b/js/expand-too-long.js @@ -23,7 +23,7 @@ $(function() { url: url, context: document.body, success: function(data) { - var content = $(data).find('#'+url.split('#')[1]).next().html(); + var content = $(data).find('#'+url.split('#')[1]).next().next().html(); body.html(content); } From eea984859b4f369680152a44b67a4de942c2656a Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 27 May 2014 23:45:05 +0000 Subject: [PATCH 2/3] Better remote errors --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index ba6a7a73..d1c2b086 100644 --- a/post.php +++ b/post.php @@ -324,7 +324,7 @@ if (isset($_POST['delete'])) { curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); if (curl_exec($curl) === false) - error($config['error']['nomove']); + error($config['error']['nomove'] . '
Curl says: ' . curl_error($curl)); curl_close($curl); From 073e6bec83982456454a8e9bf06cfae23fc0e690 Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 27 May 2014 23:44:49 +0000 Subject: [PATCH 3/3] Fix array_filter error message when debug_stuff is false --- inc/display.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/display.php b/inc/display.php index ab2daeb6..e5ce1da1 100644 --- a/inc/display.php +++ b/inc/display.php @@ -118,7 +118,8 @@ function error($message, $priority = true, $debug_stuff = false) { }; - $debug_stuff = array_filter($debug_stuff, $debug_callback); + if ($debug_stuff) + $debug_stuff = array_filter($debug_stuff, $debug_callback); die(Element('page.html', array( 'config' => $config,