1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 00:06:14 +01:00
openstamanager/modules/categorie_documenti/init.php

8 lines
274 B
PHP
Raw Normal View History

2018-04-19 15:16:58 +02:00
<?php
include_once __DIR__.'/../../core.php';
2018-07-19 12:50:34 +02:00
if (isset($id_record)) {
$record = $dbo->fetchOne('SELECT *, (SELECT COUNT(id) FROM zz_documenti WHERE idcategoria = '.prepare($id_record).') AS doc_associati FROM zz_documenti_categorie WHERE id='.prepare($id_record));
2018-07-18 15:20:10 +02:00
}