Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Loiseau
GameOfWords
Commits
aea0dd2d
Commit
aea0dd2d
authored
May 08, 2017
by
Mathieu Loiseau
Browse files
argh small bug
parent
b33bf925
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/item.factory.class.php
View file @
aea0dd2d
...
@@ -178,10 +178,10 @@ class ItemFactory //a quick and dirty class…
...
@@ -178,10 +178,10 @@ class ItemFactory //a quick and dirty class…
$res
=
$this
->
db
->
query
(
$tmp_query
);
$res
=
$this
->
db
->
query
(
$tmp_query
);
//recursion
//recursion
if
(
$res
){
if
(
$res
){
$this
->
get_recording
(
$queryType
,
$parameter
);
return
$this
->
get_recording
(
$queryType
,
$parameter
);
}
}
else
{
else
{
throw
new
Exception
(
"Error chain in : "
.
$this
->
query
.
" (recording not found) <br />"
.
$tmp_query
);
throw
new
Exception
(
"Error chain in : "
.
$this
->
query
.
" (recording not found) <br />
Update error in:
"
.
$tmp_query
);
}
}
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment