Explorar o código

Return this->message variable as array.

markjcrane %!s(int64=2) %!d(string=hai) anos
pai
achega
017857a8c3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      resources/classes/database.php

+ 2 - 1
resources/classes/database.php

@@ -2656,6 +2656,7 @@
 						} // foreach schema_array
 					} // foreach main array
 
+				//save the message
 					$this->message = $message;
 
 				//commit the atomic transaction
@@ -2765,7 +2766,7 @@
 							exit;
 						}
 					}
-					return $message;
+					return $this->message;
 			} //save method
 
 			/**