diff --git a/panel_user/includes/formChangeName.php b/panel_user/includes/formChangeName.php
index 64102a5..8b6c433 100644
--- a/panel_user/includes/formChangeName.php
+++ b/panel_user/includes/formChangeName.php
@@ -80,6 +80,12 @@ class FormChangeName extends Form {
} else {
$bd->changeUserName(unserialize($_SESSION['user'])->getId(), $nombre);
$user = $bd->selectUser($nombre, $password);
+
+ $actual_img = "../img/users/".unserialize($_SESSION['user'])->getName().".jpg";
+ $new_img = "../img/users/".$nombre.".jpg";
+ copy($actual_img, $new_img);
+ unlink($actual_img);
+
$_SESSION['user'] = serialize($user);
$_SESSION["nombre"] = $user->getName();
$_SESSION['message'] = "
diff --git a/purchase/includes/formSelectCinemaSession.php b/purchase/includes/formSelectCinemaSession.php
index e640dcc..6c346de 100644
--- a/purchase/includes/formSelectCinemaSession.php
+++ b/purchase/includes/formSelectCinemaSession.php
@@ -143,7 +143,7 @@ class FormSelectCinemaSession extends Form {
'.$cinemasListHTML.'
Sesiones
'.$sessionsListHTML.'
-
Aplicar código promocional✔❌
+
'.$errorCode.'
';
} else {
diff --git a/purchase/resume.php b/purchase/resume.php
index f29c2b9..cad6296 100644
--- a/purchase/resume.php
+++ b/purchase/resume.php
@@ -9,6 +9,7 @@
include_once($prefix.'assets/php/includes/session.php');
include_once($prefix.'assets/php/includes/cinema_dao.php');
include_once($prefix.'assets/php/includes/cinema.php');
+ include_once($prefix.'assets/php/includes/promotion_dao.php');
if(isset($_SESSION["purchase"]) && isset($_SESSION["film_purchase"])){
$purchase = unserialize($_SESSION["purchase"]);