by Verity Infotech

Track your SuiteCRM users’ daily activities for actions such as: logins and logouts, plus viewed, created, updated, and deleted records with user’s IP. There is also a helpful chart in the dashboard to monitor activity.

Includes a 30 day guarantee
Try it Now

#5719 - Unneeded meeting bean load on dashboard

Open Bug? created by oc666 Verified Purchase 3 weeks ago

Why do you have unneeded Meeting bean load $bean = BeanFactory::getBean('Meetings',$_REQUEST['record']); ? Because record is undefined it show warning in the error log. In addition you have a lot white spaces.

File: custom/modules/vrt_UserActivityTracker/LogicHooks/vrt_UAT_UIFrame.php

<?php

class vrt_UAT_UI_Class {
    function vrt_UAT_UI_Func($event, $arguments) {        
        if ($_REQUEST['module'] == "Home" && $_REQUEST['action'] == "index") {                            
               ** $bean = BeanFactory::getBean('Meetings',$_REQUEST['record']); **
                $ce_load_js = <<<MAKE
                    <script type="text/javascript" language="javascript" src="https://cdn.jsdelivr.net/npm/apexcharts">
MAKE;
                echo $ce_load_js;                   
        }       
    }
}              
This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "Good addon to use. Every actions are available in this addon. View, Delete, Restore and Dashlet charts are more effective. Recommend to everyone!!!!!" - anabykhovsky

    Read More Reviews