diff --git a/main/document/document.php b/main/document/document.php index b82747365c..0daddd6a03 100644 --- a/main/document/document.php +++ b/main/document/document.php @@ -1,4 +1,4 @@ -'#', 'name'=> get_lang('Document')); +$interbreadcrumb[]= array ('url'=>'', 'name'=> get_lang('Document')); //------interbreadcrumb for the current directory root path diff --git a/main/document/downloadfolder.inc.php b/main/document/downloadfolder.inc.php index 66a7999015..66bea09039 100644 --- a/main/document/downloadfolder.inc.php +++ b/main/document/downloadfolder.inc.php @@ -1,4 +1,4 @@ -'1' AND `docs`.`filetype`='folder'",__FILE__,__LINE__); //if we get invisible folders, we have to filter out these results from all visible files we found - if(mysql_num_rows($query2)>0) + if(Database::num_rows($query2)>0) { //add tem to an array while($invisible_folders = mysql_fetch_assoc($query2)) diff --git a/main/document/slideshow.php b/main/document/slideshow.php index 84fac035c2..3239624ab7 100644 --- a/main/document/slideshow.php +++ b/main/document/slideshow.php @@ -1,4 +1,4 @@ - $image_width) ? 'width="'.$image_width.'"' : ''); $height_width_tags = (($size[1] > $image_height) ? 'height="'.$image_height.'"' : ''); @@ -262,7 +262,7 @@ if ($slide_id !== "all") } $sql = "SELECT * FROM $tbl_documents WHERE path='".$pathpart.$image_files_only[$slide]."'"; $result = api_sql_query($sql,__FILE__,__LINE__); - $row = mysql_fetch_array($result); + $row = Database::fetch_array($result); echo '