Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- added attribute id to map tag

git-svn-id: https://svn.php.net/repository/pear/packages/Image_Canvas/trunk@272468 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit f57bb2bde2c700ac02678cbcede5bb7b4785461c 1 parent 3161e5e
Uwe Steinmann authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Canvas/ImageMap.php
View
2  Canvas/ImageMap.php
@@ -345,7 +345,7 @@ function save($params = false)
function toHtml($params)
{
if (count($this->_map) > 0) {
- return '<map name="' . $params['name'] . '">' . "\n\t" . implode($this->_map, "\n\t") . "\n</map>";
+ return '<map name="' . $params['name'] . '" id="' . $params['name'] . '">' . "\n\t" . implode($this->_map, "\n\t") . "\n</map>";
}
return '';
}
Please sign in to comment.
Something went wrong with that request. Please try again.