Fixed WHERE user_id = ... not specified in user CP blog settings save
--- a/plugins/nuggie/usercp.php Mon Jul 07 04:02:18 2008 -0400
+++ b/plugins/nuggie/usercp.php Tue Jul 15 11:38:12 2008 -0400
@@ -132,7 +132,7 @@
if ( $initted )
{
- $sql = 'UPDATE ' . table_prefix . "blogs SET blog_name = '$blog_name', blog_subtitle = '$blog_desc', blog_type = '$blog_access', allowed_users = $allowed_users;";
+ $sql = 'UPDATE ' . table_prefix . "blogs SET blog_name = '$blog_name', blog_subtitle = '$blog_desc', blog_type = '$blog_access', allowed_users = $allowed_users WHERE user_id = {$session->user_id};";
}
else
{