projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes in surveys validation handling
[platal.git]
/
plugins
/
function.select_db_table.php
diff --git
a/plugins/function.select_db_table.php
b/plugins/function.select_db_table.php
index
9da1fdd
..
7c598e8
100644
(file)
--- a/
plugins/function.select_db_table.php
+++ b/
plugins/function.select_db_table.php
@@
-19,6
+19,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
+require_once 'platal.inc.php';
function select_options($table,$valeur,$champ="text",$pad=false,
$where="",$join="",$group="")
function select_options($table,$valeur,$champ="text",$pad=false,
$where="",$join="",$group="")
@@
-44,7
+45,7
@@
function select_options($table,$valeur,$champ="text",$pad=false,
if (!is_null($optgrp)) {
$html .= '</optgroup>';
}
if (!is_null($optgrp)) {
$html .= '</optgroup>';
}
- $html .= '<optgroup label="' .
html
entities($my_grp, ENT_QUOTES) . '">';
+ $html .= '<optgroup label="' .
pl_
entities($my_grp, ENT_QUOTES) . '">';
$optgrp = $my_grp;
}
$html .= sprintf("<option value=\"%s\" %s>%s</option>\n",
$optgrp = $my_grp;
}
$html .= sprintf("<option value=\"%s\" %s>%s</option>\n",