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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.