diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt index 47fa78c..490cfc2 100644 --- a/COPYRIGHT.txt +++ b/COPYRIGHT.txt @@ -26,14 +26,18 @@ license, including: Markdown - (c) 2003-2006 John Gruber - \Suin\RSSWriter - (c) Suin + RSSWriter - (c) Suin - Showdown code (c) 2007 John Fraser + Showdown code - (c) 2007 John Fraser - Pagedown modifications and bugfixes (c) 2009 Dana Robinson + Pagedown modifications and bugfixes - (c) 2009 Dana Robinson - Pagedown modifications and bugfixes (c) 2009-2013 Stack Exchange Inc. + Pagedown modifications and bugfixes - (c) 2009-2013 Stack Exchange Inc. - Lightbox2 (c) Lokesh Dhakar + Lightbox2 - (c) Lokesh Dhakar - jQuery (c) The jQuery Foundation \ No newline at end of file + jQuery - (c) The jQuery Foundation + + Hub Updater - (c) Kanti.de + + Password Compat - (c) Anthony Ferrara \ No newline at end of file diff --git a/humans.txt b/humans.txt index eb6c0d0..07bed1f 100644 --- a/humans.txt +++ b/humans.txt @@ -25,6 +25,9 @@ Contributor: mlncn Github: https://github.com/mlncn Location: Natick, Massachusetts, USA +Contributor: Tea23 +Github: https://github.com/Tea23 + /* THANKS */ Name: Martin Angelov diff --git a/system/htmly.php b/system/htmly.php index 9d64434..096e88c 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -878,7 +878,7 @@ post('/add/post', function () { $proper = is_csrf_proper(from($_REQUEST, 'csrf_token')); $title = from($_REQUEST, 'title'); - $fi = from($_REQUEST, 'fi'); + $img = from($_REQUEST, 'img'); $vid = from($_REQUEST, 'vid'); $tag = from($_REQUEST, 'tag'); $url = from($_REQUEST, 'url'); diff --git a/system/includes/functions.php b/system/includes/functions.php index 63d7357..4de0677 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -596,7 +596,8 @@ function get_count($var, $str) $tmp = array(); foreach ($posts as $index => $v) { - $url = $v[$str]; + $arr = explode('_', $v[$str]); + $url = $arr[0]; if (strpos($url, "$var") !== false) { $tmp[] = $v; }