Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
indicateur
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
indicateur
Commits
d038d8d8
Commit
d038d8d8
authored
2 years ago
by
Florian Joriot
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 6.x
parents
5fb5049d
c244492a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#22132
passed
2 years ago
Stage: publish
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/UnicaenIndicateur/Service/Indicateur/IndicateurService.php
+4
-4
4 additions, 4 deletions
...nicaenIndicateur/Service/Indicateur/IndicateurService.php
with
4 additions
and
4 deletions
src/UnicaenIndicateur/Service/Indicateur/IndicateurService.php
+
4
−
4
View file @
d038d8d8
...
...
@@ -73,8 +73,8 @@ class IndicateurService {
try
{
$sql
=
"SELECT EXISTS (SELECT FROM pg_matviews WHERE matviewname='"
.
$viewname
.
"')"
;
$query
=
$this
->
getObjectManager
()
->
getConnection
()
->
prepare
(
$sql
);
$query
->
execute
();
$value
=
$
query
->
fetchOne
();
$execute
=
$query
->
execute
();
$value
=
$
execute
->
fetchOne
();
}
catch
(
Exception
$e
)
{
return
false
;
}
...
...
@@ -98,8 +98,8 @@ class IndicateurService {
throw
new
RuntimeException
(
"Un problème est survenu lors de la récupération de la session."
,
0
,
$e
);
}
try
{
$query
->
execute
();
$array
=
$
query
->
fetchAll
();
$execute
=
$query
->
execute
();
$array
=
$
execute
->
fetchAll
();
}
catch
(
DBA_Driver_Exception
$e
)
{
throw
new
RuntimeException
(
"Un problème est survenu lors de la récupération de des données de l'indicateur."
,
0
,
$e
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment