projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a link to password documentation.
[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
edea562
..
41d1bae
100644
(file)
--- a/
plugins/function.select_db_table.php
+++ b/
plugins/function.select_db_table.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
7
Polytechnique.org *
+ * Copyright (C) 2003-200
8
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-49,7
+49,7
@@
function select_options($table,$valeur,$champ="text",$pad=false,
$optgrp = $my_grp;
}
$html .= sprintf("<option value=\"%s\" %s>%s</option>\n",
$optgrp = $my_grp;
}
$html .= sprintf("<option value=\"%s\" %s>%s</option>\n",
- $my_id,
($valeur==$my_id?$sel:""), $my_text
);
+ $my_id,
$valeur==$my_id ? $sel : "", pl_entities($my_text)
);
}
if (!is_null($optgrp)) {
$html .= '</optgroup>';
}
if (!is_null($optgrp)) {
$html .= '</optgroup>';