diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php
index 26582333..f6a4500a 100644
--- a/core/imageboard.pack.php
+++ b/core/imageboard.pack.php
@@ -910,8 +910,6 @@ class Image {
// more than one positive tag, or more than zero negative tags
else {
- $s_tag_array = array_map("sql_escape", $tag_search->variables);
-
$tag_id_array = array();
$tags_ok = true;
foreach($tag_search->variables as $tag) {
@@ -1113,7 +1111,6 @@ function move_upload_to_archive(DataUploadEvent $event) {
if(!@copy($event->tmpname, $target)) {
$errors = error_get_last(); // note: requires php 5.2
throw new UploadException("Failed to copy file from uploads ({$event->tmpname}) to archive ($target): {$errors['type']} / {$errors['message']}");
- return false;
}
return true;
}
diff --git a/core/util.inc.php b/core/util.inc.php
index f77b36b5..6de64efb 100644
--- a/core/util.inc.php
+++ b/core/util.inc.php
@@ -451,7 +451,7 @@ function captcha_get_html() {
}
else {
session_start();
- $securimg = new Securimage();
+ //$securimg = new Securimage();
$base = get_base_href();
$captcha = "".
"
CAPTCHA: ";
diff --git a/ext/artists/theme.php b/ext/artists/theme.php
index 1e00cf31..acfe05e7 100644
--- a/ext/artists/theme.php
+++ b/ext/artists/theme.php
@@ -198,7 +198,7 @@ class ArtistsTheme extends Themelet {
$artist['name'] = str_replace("_", " ", $artist['name']);
$elementLink = "".str_replace("_", " ", $artist['name'])."";
- $artist_link = "".str_replace("_", " ", $artist['artist_name'])."";
+ //$artist_link = "".str_replace("_", " ", $artist['artist_name'])."";
$user_link = "".$artist['user_name']."";
$edit_link = "Edit";
$del_link = "Delete";
diff --git a/ext/blotter/theme.php b/ext/blotter/theme.php
index 4c35db3b..872f550a 100644
--- a/ext/blotter/theme.php
+++ b/ext/blotter/theme.php
@@ -133,7 +133,7 @@ class BlotterTheme extends Themelet {
// Reset variables:
$i_open = "";
$i_close = "";
- $id = $entries[$i]['id'];
+ //$id = $entries[$i]['id'];
$messy_date = $entries[$i]['entry_date'];
$clean_date = date("m/d/y", strtotime($messy_date));
$entry_text = $entries[$i]['entry_text'];
@@ -144,8 +144,6 @@ class BlotterTheme extends Themelet {
$entries_list .= "
R? | Subject | From | Date | Action | Public | '; - $n = 0; - // Build up the list of pools. foreach($pools as $pool) { $pool_link = ''.html_escape($pool['title']).""; @@ -133,7 +130,6 @@ class PoolsTheme extends Themelet {Description | '; - $n = 0; foreach($pools as $pool) { $pool_info .= "
---|---|---|---|---|
".html_escape($pool['title'])." | ". @@ -303,15 +299,15 @@ class PoolsTheme extends Themelet { $this->display_top($pools, "Sorting Pool"); $pool_images = "\n