forked from science-ation/science-ation
Add copyoriginal and copyparent to API
This commit is contained in:
parent
46b39f81e0
commit
57561c829d
2
api.php
2
api.php
@ -208,7 +208,7 @@ switch($request[0]) {
|
|||||||
$ret['conferences']=array();
|
$ret['conferences']=array();
|
||||||
|
|
||||||
$response=array();
|
$response=array();
|
||||||
$q=mysql_query("SELECT id,name,type,status FROM conferences ORDER BY id");
|
$q=mysql_query("SELECT id,name,type,status,copyoriginal,copyparent FROM conferences ORDER BY id");
|
||||||
while($r=mysql_fetch_assoc($q)) {
|
while($r=mysql_fetch_assoc($q)) {
|
||||||
$response[]=$r;
|
$response[]=$r;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user