Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11995

Answered: Export computers with choosen columns

$
0
0
  • Locate file ms_csv.php
  • On Linux, use the command 'locate ms_csv.php'
  • Edit the file, looking for this block of code:

if ($_SESSION['OCS']['visible_col'][$protectedGet['tablename']][$name]{1} == ".") {
                $lbl = substr(strrchr($_SESSION['OCS']['visible_col'][$protectedGet['tablename']][$name], "."), 1);
            } else {
                $lbl = $_SESSION['OCS']['visible_col'][$protectedGet['tablename']][$name];
            }

  • Remove the block and put in place this single line:

$lbl = $_SESSION['OCS']['visible_col'][$protectedGet['tablename']][$name];

  • It is a matter of an IF STATEMENT that is put in place to fix or handle something that should not affect anyone under normal circumstances, but it is their to bug your life :D :D (or maybe a dubious attempt to imitate others like OrangeHRM, who  bargain users over documentation!!)

Viewing all articles
Browse latest Browse all 11995

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>