Updated project class due to conflicts when updating, changed version, updated update script.

This commit is contained in:
xevidos 2018-12-11 18:56:27 -05:00
parent 485c099fe4
commit f982941047
4 changed files with 788 additions and 788 deletions

View file

@ -37,7 +37,6 @@ class Project extends Common {
public function __construct() {
$this->projects = $this->get_projects();
}
//////////////////////////////////////////////////////////////////

View file

@ -17,6 +17,7 @@ require_once('./class.project.php');
checkSession();
$Project = new Project();
$Project->projects = $this->get_projects();
if( $_GET['action'] == 'add_user' ) {

View file

@ -12,7 +12,7 @@ class Update {
// CONSTANTS
//////////////////////////////////////////////////////////////////
CONST VERSION = "v.2.9.2";
CONST VERSION = "v.2.9.3";
//////////////////////////////////////////////////////////////////
// PROPERTIES

View file

@ -282,8 +282,8 @@ ALTER TABLE `user_options`
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
";
$bind = "";
$bind_param = array();
$result = mysqli_prepare( $connection, $sql ) or die( $error );
$bind_variables = array();
$result = mysqli_prepare( $connection, $sql ) or die( "Error creating tables" );
$result->bind_param( $bind, ...$bind_variables );
$result->execute();