Added missing initialization of stock_location model

This commit is contained in:
objecttothis
2023-02-17 17:42:32 +04:00
committed by Steve Ireland
parent f0898f3461
commit f3bd5346ea

View File

@@ -62,6 +62,7 @@ class Reports extends Secure_Controller
$method_name = $request->getUri()->getSegment(2);
$exploder = explode('_', $method_name);
$this->config = config('OSPOS')->settings;
$this->stock_location = model('Stock_location');
if(sizeof($exploder) > 1)
{