mirror of https://github.com/itflow-org/itflow
wrong folder id names
This commit is contained in:
parent
9e758b1edd
commit
1242bd31c9
|
|
@ -33,7 +33,7 @@ if (!empty($_GET['folder_id'])) {
|
|||
// Set Folder Location Var used when creating folders
|
||||
$folder_location = 0;
|
||||
|
||||
if ($folder == 0 && $_GET["q"]) {
|
||||
if ($get_folder_id == 0 && $_GET["q"]) {
|
||||
$sql = mysqli_query(
|
||||
$mysqli,
|
||||
"SELECT SQL_CALC_FOUND_ROWS * FROM documents
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ if ($view == 1) {
|
|||
// Set Folder Location Var used when creating folders
|
||||
$folder_location = 1;
|
||||
|
||||
if ($folder == 0 && $_GET["q"]) {
|
||||
if ($get_folder_id == 0 && $_GET["q"]) {
|
||||
$sql = mysqli_query(
|
||||
$mysqli,
|
||||
"SELECT SQL_CALC_FOUND_ROWS * FROM files
|
||||
|
|
|
|||
Loading…
Reference in New Issue