Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7cf2d723
authored
2016-09-15 19:58:41 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
s
1 parent
ff3dde7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
7cf2d72
...
...
@@ -101,6 +101,7 @@ class GoogledriveuploadpdfController extends Controller
public
function
isGoogleFolderCreated
(
$cust_id
)
{
$cust_ids
=
$cust_id
;
$group_ids
=
preg_split
(
'/-/'
,
$cust_id
);
$group_id
=
ltrim
(
rtrim
(
$group_ids
[
1
]));
$cust_id
=
ltrim
(
rtrim
(
$group_ids
[
0
]));
...
...
@@ -109,7 +110,7 @@ public function isGoogleFolderCreated($cust_id)
$saveFolderId
=
$saveFolderId
->
checkIsGoogleFolderCreated
(
$group_id
);
if
(
empty
(
$saveFolderId
)){
$this
->
createFolderGoogle
(
$cust_id
);
$this
->
createFolderGoogle
(
$cust_id
s
);
$saveFolderId
=
$saveFolderId
->
checkIsGoogleFolderCreated
(
$group_id
);
return
$saveFolderId
;
}
else
{
...
...
Please
register
or
sign in
to post a comment