summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-28 20:09:17 -0800
committerBrion Vibber <brion@pobox.com>2010-01-28 20:09:17 -0800
commit864ce8e276220262ef8a26a9138c929145ccf57e (patch)
treeaf5c74437f55800fee39aa7c7b59ab9123205f8d
parent4a0413c0270bcac456c20972342c2c29182bec4e (diff)
Fixes for status_network db object .ini and tag setter script
-rw-r--r--classes/status_network.ini1
-rw-r--r--scripts/settag.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/status_network.ini b/classes/status_network.ini
index 8123265e4..adb71cba7 100644
--- a/classes/status_network.ini
+++ b/classes/status_network.ini
@@ -11,6 +11,7 @@ theme = 2
logo = 2
created = 142
modified = 384
+tags = 34
[status_network__keys]
nickname = K
diff --git a/scripts/settag.php b/scripts/settag.php
index 1d7b60b90..e91d5eb50 100644
--- a/scripts/settag.php
+++ b/scripts/settag.php
@@ -50,7 +50,7 @@ if (empty($sn)) {
$tags = $sn->getTags();
-$i = array_search($tags, $tag);
+$i = array_search($tag, $tags);
if ($i !== false) {
if (have_option('d', 'delete')) { // Delete