git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1042
1ca29b6e-896d-4ea0-84a5-
967f57386b96
<li>\r
<strong>Nucleus v3.5 (SVN)</strong>\r
<ul>\r
+ <li>FIX: super-admin disallowed from uploading files if not on any teamlists. (ftruscot)</li>\r
<li>ADD: $CONF['ActivationDays'] variable to control days before activation expire. Manually set in config.php if needed (no admin interface). (ftruscot)</li>\r
<li>CHANGE:Notify ITEM link after karma votes(ACTION.php). (shizuki)</li>\r
<li>CHANGE:Remove bsendping col from nucleus_blog table(install.sql/upgrade3.5.php). (shizuki)</li>\r
// check if member is on at least one teamlist
$query = 'SELECT * FROM ' . sql_table('team'). ' WHERE tmember=' . $member->getID();
$teams = sql_query($query);
-if (sql_num_rows($teams) == 0)
+if (sql_num_rows($teams) == 0 && !$member->isAdmin())
media_doError(_ERROR_DISALLOWEDUPLOAD);
// get action