Project

General

Profile

« Previous | Next » 

Revision 157

Added by stefan about 19 years ago

Replaced add_slashes by addslashes in media/browse.php where it is applied to a non GPC variable.

View differences:

browse.php
103 103
			$temp_id++;
104 104
			$template->set_var(array(
105 105
											'NAME' => $name,
106
											'NAME_SLASHED' => $admin->add_slashes($name),
106
											'NAME_SLASHED' => addslashes($name),
107 107
											'TEMP_ID' => $temp_id,
108 108
											'LINK' => "browse.php?dir=$directory/$link_name",
109 109
											'LINK_TARGET' => '',
......
125 125
			$temp_id++;
126 126
			$template->set_var(array(
127 127
											'NAME' => $name,
128
											'NAME_SLASHED' => $admin->add_slashes($name),
128
											'NAME_SLASHED' => addslashes($name),
129 129
											'TEMP_ID' => $temp_id,
130 130
											'LINK' => WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name,
131 131
											'LINK_TARGET' => '_blank',

Also available in: Unified diff