forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Makc666 on April 14, 2008, 07:00:47 pm

Title: [Fixed]: Typo - double ;; in some *.php files
Post by: Makc666 on April 14, 2008, 07:00:47 pm
Typo in functions.inc.php - double ;; (on line 2948 for 1.4.18)

Code: [Select]
$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
Title: Re: Typo - double ;; in some *.php files
Post by: Joachim Müller on October 19, 2008, 02:33:19 pm
Merely a cosmetical issue: double ; at line ends won't hurt. Removed them anyway as per suggestion. Marking thread as fixed.