Index: trunk/phase3/includes/media/FormatMetadata.php |
— | — | @@ -839,8 +839,8 @@ |
840 | 840 | return $vals[0]; |
841 | 841 | } |
842 | 842 | elseif ( count( $vals ) === 0 ) { |
| 843 | + wfDebug( __METHOD__ . ' metadata array with 0 elements!' ); |
843 | 844 | return ""; // paranoia. This should never happen |
844 | | - wfDebug( __METHOD__ . ' metadata array with 0 elements!' ); |
845 | 845 | } |
846 | 846 | /* Fixme: This should hide some of the list entries if there are |
847 | 847 | * say more than four. Especially if a field is translated into 20 |