Index: trunk/extensions/SwiftMedia/SwiftMedia.body.php |
— | — | @@ -107,8 +107,8 @@ |
108 | 108 | * @return string Path to a local copy of the file. |
109 | 109 | */ |
110 | 110 | public function getPath() { |
111 | | - if ( !$this->TempPaths[''] ) { |
112 | | - $this->tempPaths[''] = $this->repo->getLocalCopy( $this->repo->container, $this->getRel(), 'getPath' ); |
| 111 | + if ( !array_key_exists('', $this->tempPaths ) ) { |
| 112 | + $this->tempPaths[''] = $this->repo->getLocalCopy( $this->repo->container, $this->getRel(), "getPath_" ); |
113 | 113 | } |
114 | 114 | return $this->tempPaths['']; |
115 | 115 | } |