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
9d590d64
Commit
9d590d64
authored
Feb 29, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
ab6a7c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
api.class.php
api.class.php
+2
-2
No files found.
api.class.php
View file @
9d590d64
...
...
@@ -201,7 +201,7 @@ class MediaDBAPI{
// = Filter:
foreach
(
$this
->
FilterEinfach
as
$key
=>
$value
)
{
if
(
isset
(
$GET_arr
[
$key
])
AND
in_array
(
$key
,
$this
->
FilterEinf
)){
//TODO Rechte einbauen!!
if
(
isset
(
$GET_arr
[
$key
])
){
//
AND in_array($key, $this->FilterEinf)){ //TODO Rechte einbauen!!
$Where
.=
(
$first
?
""
:
" AND "
)
.
$value
.
' = "'
.
$GET_arr
[
$key
]
.
'"'
;
$first
=
false
;
}
...
...
@@ -253,7 +253,7 @@ class MediaDBAPI{
//var_dump($this->FilterKomp);
//echo (array_key_exists($key, $this->FilterKomp)?"Ja":"Nein").PHP_EOL;
if
(
isset
(
$GET_arr
[
$key
])
AND
array_key_exists
(
$key
,
$this
->
FilterKomp
)){
//TODO Rechte einbauen!!!
if
(
isset
(
$GET_arr
[
$key
])
){
//
AND array_key_exists($key, $this->FilterKomp)){ //TODO Rechte einbauen!!!
//echo "Inside".PHP_EOL;
if
((
substr
(
$GET_arr
[
$key
],
0
,
1
)
==
"<"
)
OR
(
substr
(
$GET_arr
[
$key
],
0
,
1
)
==
">"
)
OR
!
strpos
(
$GET_arr
[
$key
],
","
))
{
...
...
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