1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
|
modcp.php
suche nach:
if(is_array($_POST['postids']) && count($_POST['postids'])) $postids=implode(',',$_POST['postids']);
ersetze durch:
if(is_array($_POST['postids']) && count($_POST['postids'])) $postids=implode(',',intval_array($_POST['postids']));
suche nach:
if($postcount==$thread['replycount']+1) {
ersetze durch:
list($totalposts) = $db->query_first("SELECT COUNT(*) FROM bb".$n."_posts WHERE threadid = '".$threadid."'");
if ($postcount == $totalposts) {
suche nach:
if(is_array($_POST['postids']) && count($_POST['postids'])) $postids=implode(',',$_POST['postids']);
ersetze durch:
if(is_array($_POST['postids']) && count($_POST['postids'])) $postids=implode(',',intval($_POST['postids']));
suche nach:
if(!$merge_thread['threadid']) error($lang->get("LANG_MODCP_ERROR_CANTMERGE"));
ersetze durch:
if(!$merge_thread['threadid'] || $merge_thread['threadid'] == $threadid) error($lang->get("LANG_MODCP_ERROR_CANTMERGE"));
suche nach:
$boardids = $_POST['boardids'];
ersetze durch:
$boardids = intval_array($_POST['boardids']);
----------------------------------------------------------------------
newthread.php
suche nach:
$boardids = $_POST['boardids'];
ersetze durch:
$boardids = intval_array($_POST['boardids']);
suche nach:
mailer($row['email'],$mail_subject,$mail_text);
}
füge darunter ein:
if($important==2) {
$db->unbuffered_query("INSERT INTO bb".$n."_announcements (boardid,threadid) VALUES ('$boardid','$threadid')",1);
}
suche nach:
if($important==2) {
$db->unbuffered_query("INSERT INTO bb".$n."_announcements (boardid,threadid) VALUES ('$boardid','$threadid')",1);
header("Location: newthread.php?action=announce&threadid=$threadid&sid=$session[hash]");
}
ersetze durch:
if($important==2) header("Location: newthread.php?action=announce&threadid=$threadid&sid=$session[hash]");
suche nach:
if(isset($_POST['attachment_id'])) $attachment_id=$_POST['attachment_id'];
ersetze durch:
if(isset($_POST['attachment_id'])) $attachment_id=intval($_POST['attachment_id']);
----------------------------------------------------------------------
pms.php
Keine Änderungen gefunden.
----------------------------------------------------------------------
register.php
suche nach:
$r_signature = htmlconverter($r_signature);
füge darunter ein:
$r_dateformat = htmlconverter($r_dateformat);
$r_timeformat = htmlconverter($r_timeformat);
----------------------------------------------------------------------
usergroups.php
suche nach:
if(is_array($_POST['applicationids'])) while(list($applicationid,$val)=each($_POST['applicationids'])) if($val==1) $deleteids[]=$applicationid;
ersetze durch:
if(is_array($_POST['applicationids'])) while(list($applicationid,$val)=each($_POST['applicationids'])) if($val==1) $deleteids[]=intval($applicationid);
suche nach:
while(list($userid,)=each($_POST['userids'])) {
füge darunter ein:
$userid = intval($userid); |