projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bank transfer with zero amount is not allowed.
[fa-stable.git]
/
includes
/
packages.inc
diff --git
a/includes/packages.inc
b/includes/packages.inc
index cc387f64425d121491be0cfa0497ad5ed31d4ef8..6e97e7d1cc8d787eae3e072287774278bdc4aeca 100644
(file)
--- a/
includes/packages.inc
+++ b/
includes/packages.inc
@@
-187,7
+187,7
@@
function get_control_file($file, $index = false) {
if ($index !== true) {
if ($index === false) break;
if (!isset($pkg[$index])) {
if ($index !== true) {
if ($index === false) break;
if (!isset($pkg[$index])) {
- display_error(
_("No key field '$index' in file '$file'"
));
+ display_error(
sprintf(_("No key field '%s' in file '%s'"), $index, $file
));
return null;
}
$repo[$pkg[$index]] = $pkg;
return null;
}
$repo[$pkg[$index]] = $pkg;