[Fixed]: Typo - double ;; in some *.php files [Fixed]: Typo - double ;; in some *.php files
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Fixed]: Typo - double ;; in some *.php files

Started by Makc666, April 14, 2008, 07:00:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

Typo in functions.inc.php - double ;; (on line 2948 for 1.4.18)

$str = str_replace(array('&amp;', '&quot;', '&lt;', '&gt;'), array('&', '"', '<', '>'), $str);;

I also made a quick search for ;; in PHP files.
Here is the list:

Line_number:File_name

319:util.php
1170:theme.php
715:exif.php
1711:functions.inc.php
2948:functions.inc.php
1261:themes.inc.php

Also there are some in Greek language, but this one must be looked throw with care...

Line_number:File_name

1178:greek.php
1184:greek.php
1191:greek.php
1192:greek.php
1193:greek.php
1194:greek.php
1195:greek.php
1196:greek.php
1197:greek.php
1198:greek.php

Joachim Müller

Merely a cosmetical issue: double ; at line ends won't hurt. Removed them anyway as per suggestion. Marking thread as fixed.