1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 05:34:01 +02:00

fix for guests not able to view html if html is turned on globally (recovering the old behaviour)

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5123 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-04-18 19:33:22 +00:00
parent 5f2a1476d4
commit aa895baa17
5 changed files with 18 additions and 3 deletions

View File

@@ -420,6 +420,8 @@ switch ($row['config_value'])
}
case '.0.2':
case '.0.3':
switch (SQL_LAYER)
@@ -900,6 +902,19 @@ switch ($row['config_value'])
}
$db->sql_freeresult($result);
case '.0.6':
case '.0.7':
case '.0.8':
case '.0.9':
case '.0.10':
case '.0.11':
case '.0.12':
case '.0.13':
case '.0.14':
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_allowhtml = 1 WHERE user_id = ' . ANONYMOUS;
_sql($sql, $errored, $error_ary);
break;
default: