Commit d1bc63d 1 parent 83a91ec commit d1bc63d Copy full SHA for d1bc63d
File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 37
37
$ smile = isset ($ _REQUEST ['smile ' ]) ? (int )$ _REQUEST ['smile ' ] : 0 ;
38
38
$ html = isset ($ _REQUEST ['html ' ]) ? (int )$ _REQUEST ['html ' ] : 0 ;
39
39
40
+ if (!superAdmin ()) {
41
+ $ html = 0 ;
42
+ }
43
+
40
44
$ length = strlen ($ post_topic );
41
45
if (($ length < 1 || $ length > 60 ) && $ thread ['id ' ] == $ thread ['first_post ' ])
42
46
$ errors [] = "Too short or too long topic (Length: $ length letters). Minimum 1 letter, maximum 60 letters. " ;
Original file line number Diff line number Diff line change 26
26
$ post_topic = isset ($ _REQUEST ['topic ' ]) ? stripslashes ($ _REQUEST ['topic ' ]) : '' ;
27
27
$ smile = (isset ($ _REQUEST ['smile ' ]) ? (int )$ _REQUEST ['smile ' ] : 0 );
28
28
$ html = (isset ($ _REQUEST ['html ' ]) ? (int )$ _REQUEST ['html ' ] : 0 );
29
+
30
+ if (!superAdmin ()) {
31
+ $ html = 0 ;
32
+ }
33
+
29
34
$ saved = false ;
30
35
if (isset ($ _REQUEST ['save ' ])) {
31
36
$ length = strlen ($ post_topic );
You can’t perform that action at this time.
0 commit comments