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 "DateTimeInputWidget: Fix disabled `border-color`"
[lhc/web/wiklou.git]
/
includes
/
media
/
FormatMetadata.php
diff --git
a/includes/media/FormatMetadata.php
b/includes/media/FormatMetadata.php
index
2a8b375
..
52d7373
100644
(file)
--- a/
includes/media/FormatMetadata.php
+++ b/
includes/media/FormatMetadata.php
@@
-787,7
+787,7
@@
class FormatMetadata extends ContextSource {
}
}
if ( is_numeric( $val ) ) {
- $fNumber =
pow( 2,
$val / 2 );
+ $fNumber =
2 ** (
$val / 2 );
if ( $fNumber !== false ) {
$val = $this->msg( 'exif-maxaperturevalue-value',
$this->formatNum( $val ),