|
Revision 454, 245 bytes
(checked in by sven, 2 years ago)
|
removed some addslashes. replaced some with adodb qstr().
removed some stripslashes. a lot more still want to go, depending on how much we care about showing users even more inappropriate backslashes than currently.
fixed a few more php notices.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
if (isset($parameter) && $parameter != "") |
|---|
| 5 |
{ |
|---|
| 6 |
$id = $parameter['id']; |
|---|
| 7 |
|
|---|
| 8 |
$comment = new Comment($id); |
|---|
| 9 |
} |
|---|
| 10 |
else |
|---|
| 11 |
{ |
|---|
| 12 |
$comment = new Comment(); |
|---|
| 13 |
} |
|---|
| 14 |
|
|---|
| 15 |
$run_result = $comment; |
|---|
| 16 |
|
|---|
| 17 |
?> |
|---|
| 18 |
|
|---|