mirror of
https://github.com/xevidos/codiad.git
synced 2024-12-22 13:52:16 +01:00
Updated project class due to conflicts when updating, changed version, updated update script.
This commit is contained in:
parent
485c099fe4
commit
f982941047
4 changed files with 788 additions and 788 deletions
|
@ -37,7 +37,6 @@ class Project extends Common {
|
|||
|
||||
public function __construct() {
|
||||
|
||||
$this->projects = $this->get_projects();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -17,6 +17,7 @@ require_once('./class.project.php');
|
|||
checkSession();
|
||||
|
||||
$Project = new Project();
|
||||
$Project->projects = $this->get_projects();
|
||||
|
||||
if( $_GET['action'] == 'add_user' ) {
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ class Update {
|
|||
// CONSTANTS
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
CONST VERSION = "v.2.9.2";
|
||||
CONST VERSION = "v.2.9.3";
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// PROPERTIES
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue