Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
ef6cfc95
Commit
ef6cfc95
authored
Jan 20, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
b6a0e4b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
api.class.php
api.class.php
+9
-1
No files found.
api.class.php
View file @
ef6cfc95
...
...
@@ -338,7 +338,10 @@ class MediaDBViewerAPI{
return
$this
->
error
(
1004
,
"Mindestens einer der folgenden Paramter war erwartet = Gesehen, checked, comment!"
);
}
else
{
$Query
=
"UPDATE "
.
$GET_arr
[
"Tabelle"
]
.
" "
.
$Set
.
" "
.
$Where
.
";"
;
return
$this
->
error
(
1001
,
"Auszuführender Query: "
.
$Query
);
$result
=
$this
->
query
(
$Query
);
if
(
$this
->
DB_Objekt
->
error
!=
""
){
return
$this
->
error
(
1005
,
$this
->
DB_Objekt
->
error
);}
return
$this
->
error
(
1008
,
$Query
);
}
}
/*
else if(isset($POST_arr["season_nr"]) AND ($GET_arr["Tabelle"] == "Staffeln") ){
...
...
@@ -469,6 +472,11 @@ class MediaDBViewerAPI{
"FehlerText"
=>
"Keine Rechte für diese Aktion!!"
,
"FehlerBeschreibung"
=>
$Description
);
break
;
case
1008
:
return
array
(
"FehlerID"
=>
$ErrID
,
"FehlerText"
=>
"Alles Gut! Erfolgreich ausgeführt!"
,
"FehlerBeschreibung"
=>
$Description
);
break
;
default
:
return
array
(
"FehlerID"
=>
1000
,
"FehlerText"
=>
"Ein unbekannter Fehler ist aufgetreten!"
);
...
...
Write
Preview
Markdown
is supported
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