Skip to content
Code-Schnipsel Gruppen Projekte
Commit 37477a11 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'dev'

Übergeordnete f3f1cb29 47e0d0b4
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -258,11 +258,11 @@ function smarty_function_image($params, $smarty)
// missing alt / title
if (!isset($attributes['alt'])) {
$attributes['alt'] = \htmlentities($Image->getAttribute('alt'), ENT_COMPAT, 'UTF-8');
$attributes['alt'] = \htmlentities($Image->getAlt(), ENT_COMPAT, 'UTF-8');
}
if (!isset($attributes['title'])) {
$attributes['title'] = \htmlentities($Image->getAttribute('alt'), ENT_COMPAT, 'UTF-8');
$attributes['title'] = \htmlentities($Image->getTitle(), ENT_COMPAT, 'UTF-8');
}
$result = QUI\Projects\Media\Utils::getImageHTML($Image->getUrl(), $attributes);
......
......@@ -16,7 +16,7 @@
"require": {
"php": "5.*|7.*",
"smarty\/smarty": "3.*",
"quiqqer\/quiqqer": "1.*|dev-master|dev-dev",
"quiqqer\/quiqqer": ">=1.4|dev-master|dev-dev",
"quiqqer\/utils": ">=1.4|dev-master|dev-dev"
},
"autoload": {
......@@ -24,4 +24,4 @@
"Quiqqer\\Engine\\": "Quiqqer\/Engine"
}
}
}
\ No newline at end of file
}
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren