Fix
parent
28b9d2b0ac
commit
64624bf9b6
|
|
@ -248,7 +248,7 @@ class Dealer extends Model
|
||||||
$lines = [];
|
$lines = [];
|
||||||
|
|
||||||
foreach ($dealers as $dealer) {
|
foreach ($dealers as $dealer) {
|
||||||
preg_match("#\A{$path}\d+/#", $dealer->full_path, $matches);
|
preg_match("#\A{$path}\d+-#", $dealer->full_path, $matches);
|
||||||
|
|
||||||
$line = $matches[0];
|
$line = $matches[0];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ class UserInfo extends Model
|
||||||
$lines = [];
|
$lines = [];
|
||||||
|
|
||||||
foreach ($agents as $agent) {
|
foreach ($agents as $agent) {
|
||||||
preg_match("#\A{$path}\d+/#", $agent->full_path, $matches);
|
preg_match("#\A{$path}\d+-#", $agent->full_path, $matches);
|
||||||
|
|
||||||
$line = $matches[0];
|
$line = $matches[0];
|
||||||
|
|
||||||
|
|
@ -244,7 +244,7 @@ class UserInfo extends Model
|
||||||
$lines = [];
|
$lines = [];
|
||||||
|
|
||||||
foreach ($agents as $agent) {
|
foreach ($agents as $agent) {
|
||||||
preg_match("#\A{$path}\d+/#", $agent->full_path, $matches);
|
preg_match("#\A{$path}\d+-#", $agent->full_path, $matches);
|
||||||
|
|
||||||
$line = $matches[0];
|
$line = $matches[0];
|
||||||
|
|
||||||
|
|
@ -271,7 +271,7 @@ class UserInfo extends Model
|
||||||
$lines = [];
|
$lines = [];
|
||||||
|
|
||||||
foreach ($agents as $agent) {
|
foreach ($agents as $agent) {
|
||||||
preg_match("#\A{$path}\d+/#", $agent->full_path, $matches);
|
preg_match("#\A{$path}\d+-#", $agent->full_path, $matches);
|
||||||
|
|
||||||
$line = $matches[0];
|
$line = $matches[0];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue