Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1422 → Rev 1423

/trunk/plugins/viathinksoft/adminPages/920_nostalgia/export_win.php
87,7 → 87,7
$description[$real_parent] = '';
$created[$real_parent] = '';
$updated[$real_parent] = '';
$res2 = OIDplus::db()->query("select * from ###objects where id = 'oid:$real_parent'");
$res2 = OIDplus::db()->query("select * from ###objects where id = ?", ["oid:$real_parent"]);
while ($row2 = $res2->fetch_object()) {
$title[$real_parent] = vts_utf8_decode($row2->title);
$description[$real_parent] = vts_utf8_decode($row2->description);
202,7 → 202,7
*/
function fill_asn1(string $oid, array &$asn1) {
if (!isset($asn1[$oid])) $asn1[$oid] = array();
$res = OIDplus::db()->query("select * from ###asn1id where oid = 'oid:$oid'");
$res = OIDplus::db()->query("select * from ###asn1id where oid = ?", ["oid:$oid"]);
while ($row = $res->fetch_object()) {
$asn1[$oid][] = $row->name;
}
211,7 → 211,7
/*
function fill_iri($oid, &$iri) {
if (!isset($iri[$oid])) $iri[$oid] = array();
$res = OIDplus::db()->query("select * from ###iri where oid = 'oid:$oid'");
$res = OIDplus::db()->query("select * from ###iri where oid = ?", ["oid:$oid"]);
while ($row = $res->fetch_object()) {
$iri[$oid][] = $row->name;
}