Skip to content

Commit

Permalink
FIXED : #29 : Fixes CS Erros
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Jul 1, 2014
1 parent c13478e commit 1b4c80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpPowerpoint/Writer/ODPresentation/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function writePic(XMLWriter $objWriter, AbstractDrawing $shape, $shapeId)
$objWriter->startElement('draw:image');
if ($shape instanceof Drawing) {
$objWriter->writeAttribute('xlink:href', 'Pictures/' . md5($shape->getPath()) . '.' . $shape->getExtension());
} elseif($shape instanceof MemoryDrawing) {
} elseif ($shape instanceof MemoryDrawing) {
$objWriter->writeAttribute('xlink:href', 'Pictures/' . $shape->getIndexedFilename());
}
$objWriter->writeAttribute('xlink:type', 'simple');
Expand Down

0 comments on commit 1b4c80a

Please sign in to comment.