dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Make a single colon an invalid title in php and js"
[lhc/web/wiklou.git]
/
maintenance
/
importImages.inc
diff --git
a/maintenance/importImages.inc
b/maintenance/importImages.inc
index
2b3d551
..
5ae6d6b
100644
(file)
--- a/
maintenance/importImages.inc
+++ b/
maintenance/importImages.inc
@@
-99,7
+99,9
@@
function findAuxFile( $file, $auxExtension, $maxStrip = 1 ) {
}
$idx = strrpos( $n, '.' );
- if ( !$idx ) break;
+ if ( !$idx ) {
+ break;
+ }
$n = substr( $n, 0, $idx );
$maxStrip -= 1;